mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-03-09 20:01:08 +00:00
Bring mainwindow in front when notification is clicked and other windows are in front.
This commit is contained in:
parent
7e9b47948b
commit
c673b1a7d7
@ -527,12 +527,12 @@ void MainWindow::balloonClicked() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
show();
|
show();
|
||||||
if (isMinimized()) {
|
if (isMinimized())
|
||||||
showNormal();
|
showNormal();
|
||||||
}
|
|
||||||
raise();
|
|
||||||
activateWindow();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
raise();
|
||||||
|
activateWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
// called when a torrent has finished
|
// called when a torrent has finished
|
||||||
|
Loading…
x
Reference in New Issue
Block a user