mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 06:57:24 -06:00
- refresh list was refreshed even though the main window was hidden or minimized. This hitted an assert
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user