-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 ) streaming = false; seekable = true; } MediaPlayerState::~MediaPlayerState() { + Config cfg( "OpiePlayer" ); + writeConfig( cfg ); } void MediaPlayerState::readConfig( Config& cfg ) { cfg.setGroup("Options"); fullscreen = cfg.readBoolEntry( "FullScreen" ); @@ -254,6 +256,9 @@ void MediaPlayerState::togglePlaying() { void MediaPlayerState::toggleBlank() { setBlanked( !blanked); } + + + |