summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/mediaplayer.cpp2
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
175void MediaPlayer::timerEvent( QTimerEvent * ) { 175void 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