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