myTrayIcon->showMessage(tr("Download finished"),tr("%1 has finished downloading.","e.g: xxx.avi has finished downloading.").arg(fileName),QSystemTrayIcon::Information,TIME_TRAY_BALLOON);
myTrayIcon->showMessage(tr("Download finished"),tr("%1 has finished downloading.","e.g: xxx.avi has finished downloading.").arg(fileName),QSystemTrayIcon::Information,TIME_TRAY_BALLOON);
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(QString(h.name().c_str())),QSystemTrayIcon::Critical,TIME_TRAY_BALLOON);
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(QString(h.name().c_str())),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