Browse Source

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

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
c673b1a7d7
  1. 4
      src/mainwindow.cpp

4
src/mainwindow.cpp

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

Loading…
Cancel
Save