mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Bring window to front after restoring from systray
This commit is contained in:
parent
d31d935522
commit
f4320cb58a
1 changed files with 2 additions and 0 deletions
|
@ -706,6 +706,8 @@ void MainWindow::toggleVisibility(QSystemTrayIcon::ActivationReason e) {
|
|||
setWindowState(windowState() & ~Qt::WindowMinimized | Qt::WindowActive);
|
||||
// Then show it
|
||||
show();
|
||||
raise();
|
||||
activateWindow();
|
||||
}else{
|
||||
hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue