mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-24 07:05:25 -07:00
Respect UI lock when clicking on tray notification. Closes #784.
This commit is contained in:
parent
94cf8ca5aa
commit
8da508d107
1 changed files with 5 additions and 0 deletions
|
@ -519,6 +519,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…
Add table
Add a link
Reference in a new issue