summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/audiowidget.cpp
Unidiff
Diffstat (limited to 'noncore/multimedia/opieplayer2/audiowidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/audiowidget.cpp6
1 files changed, 2 insertions, 4 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
@@ -335,9 +335,8 @@ void AudioWidget::timerEvent( QTimerEvent * ) {
335 335
336 336
337void AudioWidget::mouseMoveEvent( QMouseEvent *event ) { 337void 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
343 if ( event->state() == QMouseEvent::LeftButton ) { 342 if ( event->state() == QMouseEvent::LeftButton ) {
@@ -372,7 +371,6 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) {
372 if ( button.type != ToggleButton ) { 371 if ( button.type != ToggleButton ) {
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 }
378 } 376 }