-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index 44bc46b..31773f2 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |||
@@ -48,12 +48,14 @@ MediaPlayerState::MediaPlayerState( QObject *parent, const char *name ) | |||
48 | streaming = false; | 48 | streaming = false; |
49 | seekable = true; | 49 | seekable = true; |
50 | } | 50 | } |
51 | 51 | ||
52 | 52 | ||
53 | MediaPlayerState::~MediaPlayerState() { | 53 | MediaPlayerState::~MediaPlayerState() { |
54 | Config cfg( "OpiePlayer" ); | ||
55 | writeConfig( cfg ); | ||
54 | } | 56 | } |
55 | 57 | ||
56 | 58 | ||
57 | void MediaPlayerState::readConfig( Config& cfg ) { | 59 | void MediaPlayerState::readConfig( Config& cfg ) { |
58 | cfg.setGroup("Options"); | 60 | cfg.setGroup("Options"); |
59 | fullscreen = cfg.readBoolEntry( "FullScreen" ); | 61 | fullscreen = cfg.readBoolEntry( "FullScreen" ); |
@@ -254,6 +256,9 @@ void MediaPlayerState::togglePlaying() { | |||
254 | void MediaPlayerState::toggleBlank() { | 256 | void MediaPlayerState::toggleBlank() { |
255 | setBlanked( !blanked); | 257 | setBlanked( !blanked); |
256 | } | 258 | } |
257 | 259 | ||
258 | 260 | ||
259 | 261 | ||
262 | |||
263 | |||
264 | |||