author | harlekin <harlekin> | 2002-08-15 21:32:31 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-08-15 21:32:31 (UTC) |
commit | a7f51d623fd3419cb70c8911e54405c978836330 (patch) (unidiff) | |
tree | c46b5baacd9140f6c8b3d630c189659895482cf3 /noncore/multimedia | |
parent | 7056522970390e51207e0d59296365ec893af026 (diff) | |
download | opie-a7f51d623fd3419cb70c8911e54405c978836330.zip opie-a7f51d623fd3419cb70c8911e54405c978836330.tar.gz opie-a7f51d623fd3419cb70c8911e54405c978836330.tar.bz2 |
got rid of some compiler warnings
-rw-r--r-- | noncore/multimedia/opieplayer2/mediaplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/multimedia/opieplayer2/mediaplayer.cpp b/noncore/multimedia/opieplayer2/mediaplayer.cpp index 22afe19..8dadf96 100644 --- a/noncore/multimedia/opieplayer2/mediaplayer.cpp +++ b/noncore/multimedia/opieplayer2/mediaplayer.cpp | |||
@@ -172,25 +172,25 @@ void MediaPlayer::stopChangingVolume() { | |||
172 | } | 172 | } |
173 | 173 | ||
174 | 174 | ||
175 | void MediaPlayer::timerEvent( QTimerEvent * ) { | 175 | void MediaPlayer::timerEvent( QTimerEvent * ) { |
176 | if ( volumeDirection == +1 ) { | 176 | if ( volumeDirection == +1 ) { |
177 | volControl->incVol(2); | 177 | volControl->incVol(2); |
178 | } else if ( volumeDirection == -1 ) { | 178 | } else if ( volumeDirection == -1 ) { |
179 | volControl->decVol(2); | 179 | volControl->decVol(2); |
180 | } | 180 | } |
181 | 181 | ||
182 | 182 | ||
183 | // TODO FIXME | 183 | // TODO FIXME |
184 | int v; | 184 | unsigned int v; |
185 | v = volControl->getVolume(); | 185 | v = volControl->getVolume(); |
186 | v = v / 10; | 186 | v = v / 10; |
187 | 187 | ||
188 | if ( drawnOnScreenDisplay && onScreenDisplayVolume == v ) { | 188 | if ( drawnOnScreenDisplay && onScreenDisplayVolume == v ) { |
189 | return; | 189 | return; |
190 | } | 190 | } |
191 | 191 | ||
192 | int w=0; int h=0; | 192 | int w=0; int h=0; |
193 | if( !xineControl->hasVideo()) { | 193 | if( !xineControl->hasVideo()) { |
194 | w = audioUI->width(); | 194 | w = audioUI->width(); |
195 | h = audioUI->height(); | 195 | h = audioUI->height(); |
196 | 196 | ||