* 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:
Karsten Heimrich
2008-10-06 20:21:03 +00:00
parent f3547bb3d3
commit d8b7877cf2
+2 -3
View File
@@ -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;