mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 00:33:09 -07: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue