-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.cpp | 3 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 5503705..603d426 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp @@ -295,5 +295,6 @@ void MediaPlayer::keyReleaseEvent( QKeyEvent *e) { void MediaPlayer::cleanUp() {// this happens on closing Config cfg( "OpiePlayer" ); - playList->writeConfig( cfg ); + mediaPlayerState->writeConfig( cfg ); + playList->writeConfig( cfg ); // QPEApplication::grabKeyboard(); diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.h b/noncore/multimedia/opieplayer2/mediaplayerstate.h index b3431d7..215a2a8 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.h +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.h @@ -95,4 +95,6 @@ public slots: void togglePlaying(); void toggleBlank(); + void writeConfig( Config& cfg ) const; + signals: @@ -126,6 +128,4 @@ private: void readConfig( Config& cfg ); - void writeConfig( Config& cfg ) const; - }; |