Browse Source

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

adaptive-webui-19844
Christophe Dumez 18 years ago
parent
commit
66c8a21a66
  1. 2
      src/GUI.cpp

2
src/GUI.cpp

@ -533,7 +533,7 @@ void GUI::updateDlList(bool force){
if(systrayIntegration){ 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 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(); finishedTorrentTab->updateFinishedList();
return; return;
} }

Loading…
Cancel
Save