Fixed bug #1281, which I logged. MediaPlayer was not behaving properly when being asked to quit.

The default BApplication::QuitRequested was not playing well with the other quitting logic in 
MediaPlayer (like in the windows.)

This simple "return true" QuitRequested seems to do the trick.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21500 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ryan Leavengood
2007-06-24 04:58:42 +00:00
parent cbd5957241
commit 82fc8592fc
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -129,6 +129,13 @@ MainApp::AboutRequested()
}
bool
MainApp::QuitRequested()
{
return true;
}
int
main()
{
+1
View File
@@ -41,6 +41,7 @@ private:
void ArgvReceived(int32 argc, char **argv);
void MessageReceived(BMessage *msg);
void AboutRequested();
bool QuitRequested();
private:
BWindow * fFirstWindow;