mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-23 13:04:23 +00:00
Respect UI lock when clicking on tray notification. Closes #784.
This commit is contained in:
parent
798bd2388b
commit
080377b662
@ -517,6 +517,11 @@ void MainWindow::readSettings() {
|
|||||||
|
|
||||||
void MainWindow::balloonClicked() {
|
void MainWindow::balloonClicked() {
|
||||||
if (isHidden()) {
|
if (isHidden()) {
|
||||||
|
if (ui_locked) {
|
||||||
|
// Ask for UI lock password
|
||||||
|
if (!unlockUI())
|
||||||
|
return;
|
||||||
|
}
|
||||||
show();
|
show();
|
||||||
if (isMinimized()) {
|
if (isMinimized()) {
|
||||||
showNormal();
|
showNormal();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user