* 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
|
bool
|
||||||
MainApp::QuitRequested()
|
MainApp::QuitRequested()
|
||||||
{
|
{
|
||||||
// TODO: When doing this in the destructor, the MainApp does not
|
// Note: This needs to be done here, SettingsWindow::QuitRequested()
|
||||||
// quit properly. Is this a Haiku bug? (SettingsWindow::QuitRequested()
|
// returns "false" always.
|
||||||
// returns "false" always.)
|
|
||||||
if (fSettingsWindow && fSettingsWindow->Lock())
|
if (fSettingsWindow && fSettingsWindow->Lock())
|
||||||
fSettingsWindow->Quit();
|
fSettingsWindow->Quit();
|
||||||
fSettingsWindow = NULL;
|
fSettingsWindow = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user