mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-06 15:04:34 +08:00
Merge pull request #619 from sledgehammer999/notification_on_finish
Actually show the tray notification when a torrent finishes downloading.
This commit is contained in:
commit
bc605fe09e
@ -528,7 +528,7 @@ void MainWindow::balloonClicked() {
|
||||
|
||||
// called when a torrent has finished
|
||||
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()));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user