From 3dbb958bde7a2512d631d470de95eaefa5d395ea Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 5 Apr 2007 22:29:09 +0000 Subject: [PATCH] - Doesn't display that a torrent has finished on start when it finished during last session --- src/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index a245feef7..a564eb212 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -1248,11 +1248,11 @@ void GUI::propertiesSelection(){ void GUI::finishedTorrent(torrent_handle& h){ QSettings settings("qBittorrent", "qBittorrent"); QString fileName = QString(h.name().c_str()); - setInfoBar(tr("%1 has finished downloading.", "e.g: xxx.avi has finished downloading.").arg(fileName)); int useOSD = settings.value("Options/OSDEnabled", 1).toInt(); // Add it to finished tab QString hash = QString(misc::toString(h.info_hash()).c_str()); if(QFile::exists(misc::qBittorrentPath()+"BT_backup"+QDir::separator()+hash+".finished")) return; + setInfoBar(tr("%1 has finished downloading.", "e.g: xxx.avi has finished downloading.").arg(fileName)); finishedTorrentTab->addFinishedSHA(hash); QList items = DLListModel->findItems(hash, Qt::MatchExactly, HASH ); if(items.size() != 1){