mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-29 13:58:51 +03:00
Respect UI lock when clicking on tray notification. Closes #784.
This commit is contained in:
parent
798bd2388b
commit
080377b662
1 changed files with 5 additions and 0 deletions
|
@ -517,6 +517,11 @@ void MainWindow::readSettings() {
|
|||
|
||||
void MainWindow::balloonClicked() {
|
||||
if (isHidden()) {
|
||||
if (ui_locked) {
|
||||
// Ask for UI lock password
|
||||
if (!unlockUI())
|
||||
return;
|
||||
}
|
||||
show();
|
||||
if (isMinimized()) {
|
||||
showNormal();
|
||||
|
|
Loading…
Reference in a new issue