1
0
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:
sledgehammer999 2013-07-22 01:46:10 +03:00
parent 798bd2388b
commit 080377b662

View File

@ -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();