Browse Source

Merge pull request #619 from sledgehammer999/notification_on_finish

Actually show the tray notification when a torrent finishes downloading.
adaptive-webui-19844
sledgehammer999 12 years ago
parent
commit
bc605fe09e
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

@ -528,7 +528,7 @@ void MainWindow::balloonClicked() {
// called when a torrent has finished // called when a torrent has finished
void MainWindow::finishedTorrent(const QTorrentHandle& h) const { void MainWindow::finishedTorrent(const QTorrentHandle& h) const {
if (!TorrentPersistentData::isSeed(h.hash())) if (TorrentPersistentData::isSeed(h.hash()))
showNotificationBaloon(tr("Download completion"), tr("%1 has finished downloading.", "e.g: xxx.avi has finished downloading.").arg(h.name())); showNotificationBaloon(tr("Download completion"), tr("%1 has finished downloading.", "e.g: xxx.avi has finished downloading.").arg(h.name()));
} }

Loading…
Cancel
Save