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:
@@ -129,6 +129,13 @@ MainApp::AboutRequested()
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
MainApp::QuitRequested()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
|
||||
@@ -41,6 +41,7 @@ private:
|
||||
void ArgvReceived(int32 argc, char **argv);
|
||||
void MessageReceived(BMessage *msg);
|
||||
void AboutRequested();
|
||||
bool QuitRequested();
|
||||
|
||||
private:
|
||||
BWindow * fFirstWindow;
|
||||
|
||||
Reference in New Issue
Block a user