-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) { | |||
295 | void MediaPlayer::cleanUp() {// this happens on closing | 295 | void MediaPlayer::cleanUp() {// this happens on closing |
296 | Config cfg( "OpiePlayer" ); | 296 | Config cfg( "OpiePlayer" ); |
297 | playList->writeConfig( cfg ); | 297 | mediaPlayerState->writeConfig( cfg ); |
298 | playList->writeConfig( cfg ); | ||
298 | 299 | ||
299 | // QPEApplication::grabKeyboard(); | 300 | // 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: | |||
95 | void togglePlaying(); | 95 | void togglePlaying(); |
96 | void toggleBlank(); | 96 | void toggleBlank(); |
97 | void writeConfig( Config& cfg ) const; | ||
98 | |||
97 | 99 | ||
98 | signals: | 100 | signals: |
@@ -126,6 +128,4 @@ private: | |||
126 | 128 | ||
127 | void readConfig( Config& cfg ); | 129 | void readConfig( Config& cfg ); |
128 | void writeConfig( Config& cfg ) const; | ||
129 | |||
130 | 130 | ||
131 | }; | 131 | }; |