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.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/noncore/multimedia/opieplayer2/audiowidget.cpp b/noncore/multimedia/opieplayer2/audiowidget.cpp
index c3e206c..3838e2c 100644
--- a/noncore/multimedia/opieplayer2/audiowidget.cpp
+++ b/noncore/multimedia/opieplayer2/audiowidget.cpp
@@ -119,3 +119,3 @@ AudioWidget::AudioWidget( PlayListWidget &playList, MediaPlayerState &mediaPlaye
119 if ( !qRed( imgMask.pixel( x, y ) ) ) 119 if ( !qRed( imgMask.pixel( x, y ) ) )
120 line[x] = i + 1; 120 line[x] = button.command + 1;
121 } 121 }
@@ -340,2 +340,3 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) {
340 Button &button = buttons[ i ]; 340 Button &button = buttons[ i ];
341 Command command = button.command;
341 342
@@ -343,3 +344,3 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) {
343 // The test to see if the mouse click is inside the button or not 344 // The test to see if the mouse click is inside the button or not
344 bool isOnButton = isOverButton( event->pos() - upperLeftOfButtonMask, i ); 345 bool isOnButton = isOverButton( event->pos() - upperLeftOfButtonMask, command );
345 346
@@ -348,3 +349,3 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) {
348 toggleButton( button ); 349 toggleButton( button );
349 switch (i) { 350 switch ( command ) {
350 case VolumeUp: 351 case VolumeUp:
@@ -361,2 +362,3 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) {
361 return; 362 return;
363 default: break;
362 } 364 }
@@ -373,3 +375,3 @@ void AudioWidget::mouseMoveEvent( QMouseEvent *event ) {
373 qDebug("mouseEvent %d", i); 375 qDebug("mouseEvent %d", i);
374 handleCommand( static_cast<Command>( i ), button.isDown ); 376 handleCommand( command, button.isDown );
375 } 377 }