mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
- refresh list was refreshed even though the main window was hidden or minimized. This hitted an assert
This commit is contained in:
parent
4ce1a7eda2
commit
66c8a21a66
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user