LaunchBox: remove redundant Locking. Thanks Stippi!
This commit is contained in:
@@ -91,7 +91,7 @@ MainWindow::QuitRequested()
|
||||
padWindowCount++;
|
||||
}
|
||||
bool canClose = true;
|
||||
if (Lock()) {
|
||||
|
||||
if (padWindowCount == 1) {
|
||||
be_app->PostMessage(B_QUIT_REQUESTED);
|
||||
canClose = false;
|
||||
@@ -104,8 +104,6 @@ MainWindow::QuitRequested()
|
||||
if (alert->Go() == 1)
|
||||
canClose = false;
|
||||
}
|
||||
Unlock();
|
||||
}
|
||||
return canClose;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user