Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayerstate.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp index 4f43465..5e5dfb2 100644 --- a/noncore/multimedia/opieplayer2/mediaplayerstate.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |||
@@ -81,36 +81,28 @@ void MediaPlayerState::readConfig( Config& cfg ) { | |||
81 | void MediaPlayerState::writeConfig( Config& cfg ) const { | 81 | void MediaPlayerState::writeConfig( Config& cfg ) const { |
82 | cfg.setGroup( "Options" ); | 82 | cfg.setGroup( "Options" ); |
83 | cfg.writeEntry( "FullScreen", fullscreen ); | 83 | cfg.writeEntry( "FullScreen", fullscreen ); |
84 | cfg.writeEntry( "Scaling", scaled ); | 84 | cfg.writeEntry( "Scaling", scaled ); |
85 | cfg.writeEntry( "Looping", looping ); | 85 | cfg.writeEntry( "Looping", looping ); |
86 | cfg.writeEntry( "Shuffle", shuffled ); | 86 | cfg.writeEntry( "Shuffle", shuffled ); |
87 | cfg.writeEntry( "UsePlayList", usePlaylist ); | 87 | cfg.writeEntry( "UsePlayList", usePlaylist ); |
88 | cfg.writeEntry( "VideoGamma", videoGamma ); | 88 | cfg.writeEntry( "VideoGamma", videoGamma ); |
89 | } | 89 | } |
90 | 90 | ||
91 | // slots | 91 | // slots |
92 | void MediaPlayerState::setIsStreaming( bool b ) { | 92 | void MediaPlayerState::setIsStreaming( bool b ) { |
93 | |||
94 | if ( streaming == b ) { | ||
95 | return; | ||
96 | } | ||
97 | streaming = b; | 93 | streaming = b; |
98 | } | 94 | } |
99 | 95 | ||
100 | void MediaPlayerState::setIsSeekable( bool b ) { | 96 | void MediaPlayerState::setIsSeekable( bool b ) { |
101 | |||
102 | //if ( isSeekable == b ) { | ||
103 | // return; | ||
104 | // } | ||
105 | seekable = b; | 97 | seekable = b; |
106 | emit isSeekableToggled(b); | 98 | emit isSeekableToggled(b); |
107 | } | 99 | } |
108 | 100 | ||
109 | 101 | ||
110 | void MediaPlayerState::setFullscreen( bool b ) { | 102 | void MediaPlayerState::setFullscreen( bool b ) { |
111 | if ( fullscreen == b ) { | 103 | if ( fullscreen == b ) { |
112 | return; | 104 | return; |
113 | } | 105 | } |
114 | fullscreen = b; | 106 | fullscreen = b; |
115 | emit fullscreenToggled(b); | 107 | emit fullscreenToggled(b); |
116 | } | 108 | } |