myTrayIcon->showMessage(tr("I/O Error","i.e: Input/Output Error"),tr("An error occured when trying to read or write %1. The disk is probably full, download has been paused","e.g: An error occured when trying to read or write xxx.avi. The disk is probably full, download has been paused").arg(h.name()),QSystemTrayIcon::Critical,TIME_TRAY_BALLOON);
myTrayIcon->showMessage(tr("I/O Error","i.e: Input/Output Error"),tr("An I/O error occured for torrent %1.\n Reason: %2","e.g: An error occured for torrent xxx.avi.\n Reason: disk is full.").arg(h.name()).arg(msg),QSystemTrayIcon::Critical,TIME_TRAY_BALLOON);
}
}
// Download will be paused by libtorrent. Updating GUI information accordingly
// Download will be paused by libtorrent. Updating GUI information accordingly