mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Bring mainwindow in front when notification is clicked and other windows are in front.
This commit is contained in:
parent
7e9b47948b
commit
c673b1a7d7
1 changed files with 4 additions and 4 deletions
|
@ -527,12 +527,12 @@ 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue