From d8b7877cf267d5deaa3e63f3f434d41d7babf50b Mon Sep 17 00:00:00 2001 From: Karsten Heimrich Date: Mon, 6 Oct 2008 20:21:03 +0000 Subject: [PATCH] * 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 --- src/apps/mediaplayer/MainApp.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/apps/mediaplayer/MainApp.cpp b/src/apps/mediaplayer/MainApp.cpp index 1455caa577..93efbe18d6 100644 --- a/src/apps/mediaplayer/MainApp.cpp +++ b/src/apps/mediaplayer/MainApp.cpp @@ -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;