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 0047ba5dc5
commit 092a1d4f33

View File

@@ -526,13 +526,13 @@ void MainWindow::balloonClicked() {
return;
}
show();
if (isMinimized()) {
if (isMinimized())
showNormal();
}
raise();
activateWindow();
}
}
// called when a torrent has finished
void MainWindow::finishedTorrent(const QTorrentHandle& h) const {