- refresh list was refreshed even though the main window was hidden or minimized. This hitted an assert

This commit is contained in:
Christophe Dumez 2007-08-01 18:08:49 +00:00
parent 4ce1a7eda2
commit 66c8a21a66

View file

@ -533,7 +533,7 @@ void GUI::updateDlList(bool force){
if(systrayIntegration){
myTrayIcon->setToolTip("<b>"+tr("qBittorrent")+"</b><br>"+tr("DL speed: %1 KiB/s", "e.g: Download speed: 10 KiB/s").arg(QString(tmp2))+"<br>"+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;
}