Removed ShutdownWindow::Quit()

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1027 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2002-09-13 11:44:25 +00:00
parent 7f3de5c362
commit 93bbc66aa2
+2 -14
View File
@@ -154,7 +154,6 @@ class ShutdownWindow : public BWindow
~ShutdownWindow();
void MessageReceived(BMessage *msg);
bool QuitRequested();
void Quit();
private:
SView *fView;
thread_id fShutdownThread;
@@ -274,17 +273,6 @@ ShutdownWindow::QuitRequested()
return true;
}
void
ShutdownWindow::Quit()
{
// quit app on window close
// be_app->PostMessage(B_QUIT_REQUESTED);
// call default Quit()
BWindow::Quit();
}
ShutdownApp::ShutdownApp(thread_id id)
:BApplication("application/x-vnd.ShutDown-app")
{
@@ -382,9 +370,9 @@ int main(int argc, char **argv)
if (alert) {
status_t err;
be_app->LockLooper();
// be_app->LockLooper();
be_app->PostMessage(B_QUIT_REQUESTED);
be_app->UnlockLooper();
// be_app->UnlockLooper();
wait_for_thread(BApp_thread, &err);
snooze(100000);