mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Actually show the tray notification when a torrent finishes downloading.
This commit is contained in:
parent
4f667c6e7d
commit
a30dc3a823
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