author | simon <simon> | 2002-12-02 13:48:06 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-02 13:48:06 (UTC) |
commit | 4a942c5d074cef8a04870cee1ab053f72321fd20 (patch) (unidiff) | |
tree | 135459fe1bd5ada39b9028e70bfc09f6fa6555e5 /noncore/multimedia/opieplayer2/mediaplayerstate.cpp | |
parent | 58ae980e181b89143760b3893b0f8267cb4489d9 (diff) | |
download | opie-4a942c5d074cef8a04870cee1ab053f72321fd20.zip opie-4a942c5d074cef8a04870cee1ab053f72321fd20.tar.gz opie-4a942c5d074cef8a04870cee1ab053f72321fd20.tar.bz2 |
- two unnecessary if statements removed
Diffstat (limited to 'noncore/multimedia/opieplayer2/mediaplayerstate.cpp') (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 | |||
@@ -91,16 +91,8 @@ void MediaPlayerState::writeConfig( Config& cfg ) const { | |||
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); |