* correct comment, i've written a small test app and it works the same way on R5
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27894 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -68,9 +68,8 @@ MainApp::~MainApp()
|
||||
bool
|
||||
MainApp::QuitRequested()
|
||||
{
|
||||
// TODO: When doing this in the destructor, the MainApp does not
|
||||
// quit properly. Is this a Haiku bug? (SettingsWindow::QuitRequested()
|
||||
// returns "false" always.)
|
||||
// Note: This needs to be done here, SettingsWindow::QuitRequested()
|
||||
// returns "false" always.
|
||||
if (fSettingsWindow && fSettingsWindow->Lock())
|
||||
fSettingsWindow->Quit();
|
||||
fSettingsWindow = NULL;
|
||||
|
||||
Reference in New Issue
Block a user