From 66c8a21a667b0e78f0c52758ec10d2d9d82d1cf8 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 1 Aug 2007 18:08:49 +0000 Subject: [PATCH] - refresh list was refreshed even though the main window was hidden or minimized. This hitted an assert --- src/GUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 6cdf37bb3..829f3cea5 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -533,7 +533,7 @@ void GUI::updateDlList(bool force){ if(systrayIntegration){ myTrayIcon->setToolTip(""+tr("qBittorrent")+"
"+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString(tmp2))+"
"+tr("UP speed: %1 KiB/s", "e.g: Upload speed: 10 KiB/s").arg(QString(tmp))); // tray icon } - if(tabs->currentIndex() == 1){ + if(getCurrentTabIndex() == 1){ finishedTorrentTab->updateFinishedList(); return; }