-rw-r--r-- | noncore/multimedia/opieplayer2/audiowidget.cpp | 6 | ||||
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 5 |
2 files changed, 4 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp index 3838e2c..37c565b 100644 --- a/noncore/multimedia/opieplayer2/audiowidget.cpp +++ b/noncore/multimedia/opieplayer2/audiowidget.cpp | |||
@@ -336,7 +336,6 @@ void AudioWidget::timerEvent( QTimerEvent * ) { | |||
336 | 336 | ||
337 | void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { | 337 | void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { |
338 | for ( unsigned int i = 0; i < buttons.size(); i++ ) { | 338 | for ( ButtonVector::iterator it = buttons.begin(); it != buttons.end(); ++it ) { |
339 | 339 | Button &button = *it; | |
340 | Button &button = buttons[ i ]; | ||
341 | Command command = button.command; | 340 | Command command = button.command; |
342 | 341 | ||
@@ -373,5 +372,4 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { | |||
373 | setToggleButton( button, FALSE ); | 372 | setToggleButton( button, FALSE ); |
374 | } | 373 | } |
375 | qDebug("mouseEvent %d", i); | ||
376 | handleCommand( command, button.isDown ); | 374 | handleCommand( command, button.isDown ); |
377 | } | 375 | } |
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 06f6cd2..12316f8 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -245,7 +245,6 @@ void VideoWidget::updateSlider( long i, long max ) { | |||
245 | 245 | ||
246 | void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { | 246 | void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { |
247 | for ( unsigned int i = 0; i < buttons.size(); i++ ) { | 247 | for ( ButtonVector::iterator it = buttons.begin(); it != buttons.end(); ++it ) { |
248 | 248 | Button &button = *it; | |
249 | Button &button = buttons[ i ]; | ||
250 | Command command = button.command; | 249 | Command command = button.command; |
251 | 250 | ||