mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Respect UI lock when clicking on tray notification. Closes #784.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user