Remove locking from TrackerSettingsWindow::QuitRequested()
Like Deskbar it isn't needed here either since the window is already locked. The return value seems to be totally ignored, so, just leave as is.
This commit is contained in:
parent
7ff146fdc0
commit
cd03d7c120
@ -135,19 +135,10 @@ TrackerSettingsWindow::TrackerSettingsWindow()
|
||||
bool
|
||||
TrackerSettingsWindow::QuitRequested()
|
||||
{
|
||||
bool isHidden = false;
|
||||
|
||||
if (Lock()) {
|
||||
isHidden = IsHidden();
|
||||
Unlock();
|
||||
} else
|
||||
return true;
|
||||
|
||||
if (isHidden)
|
||||
if (IsHidden())
|
||||
return true;
|
||||
|
||||
Hide();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user