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:
John Scipione 2012-12-21 16:42:37 -05:00
parent 7ff146fdc0
commit cd03d7c120

View File

@ -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;
}