1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-09 20:01:08 +00:00

Bring mainwindow in front when notification is clicked and other windows are in front.

This commit is contained in:
sledgehammer999 2014-06-18 23:22:25 +03:00
parent 7e9b47948b
commit c673b1a7d7

View File

@ -527,12 +527,12 @@ void MainWindow::balloonClicked() {
return; return;
} }
show(); show();
if (isMinimized()) { if (isMinimized())
showNormal(); showNormal();
}
raise();
activateWindow();
} }
raise();
activateWindow();
} }
// called when a torrent has finished // called when a torrent has finished