Bring window to front after restoring from systray

This commit is contained in:
Christophe Dumez 2012-06-29 19:39:53 +03:00
parent d31d935522
commit f4320cb58a

View File

@ -706,6 +706,8 @@ void MainWindow::toggleVisibility(QSystemTrayIcon::ActivationReason e) {
setWindowState(windowState() & ~Qt::WindowMinimized | Qt::WindowActive);
// Then show it
show();
raise();
activateWindow();
}else{
hide();
}