author | llornkcor <llornkcor> | 2002-08-15 16:42:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-15 16:42:08 (UTC) |
commit | 71520dfe386a04f8bce5d6f5d9d86dcbeda000d2 (patch) (unidiff) | |
tree | 78a284abbce1cc1da57b78f39e9e47fe5271cc1c | |
parent | 07ea5f165a2f17f818147b2e8afb02af2c269b55 (diff) | |
download | opie-71520dfe386a04f8bce5d6f5d9d86dcbeda000d2.zip opie-71520dfe386a04f8bce5d6f5d9d86dcbeda000d2.tar.gz opie-71520dfe386a04f8bce5d6f5d9d86dcbeda000d2.tar.bz2 |
fix rightmouse hold
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index fbcd775..f5780aa 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp | |||
@@ -319,9 +319,7 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { | |||
319 | switch (i) { | 319 | switch (i) { |
320 | case VideoVolUp: | 320 | case VideoVolUp: |
321 | qDebug("more clicked"); | ||
322 | emit moreClicked(); | 321 | emit moreClicked(); |
323 | return; | 322 | return; |
324 | case VideoVolDown: | 323 | case VideoVolDown: |
325 | qDebug("less clicked"); | ||
326 | emit lessClicked(); | 324 | emit lessClicked(); |
327 | return; | 325 | return; |
@@ -337,5 +335,4 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { | |||
337 | if ( !videoButtons[i].isToggle ) { | 335 | if ( !videoButtons[i].isToggle ) { |
338 | setToggleButton( i, FALSE ); | 336 | setToggleButton( i, FALSE ); |
339 | qDebug("button toggled3 %d",i); | ||
340 | } | 337 | } |
341 | 338 | ||
@@ -344,10 +341,8 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) { | |||
344 | case VideoPlay: { | 341 | case VideoPlay: { |
345 | if( mediaPlayerState->isPaused ) { | 342 | if( mediaPlayerState->isPaused ) { |
346 | qDebug("play again clicked"); | ||
347 | setToggleButton( i, FALSE ); | 343 | setToggleButton( i, FALSE ); |
348 | mediaPlayerState->setPaused( FALSE ); | 344 | mediaPlayerState->setPaused( FALSE ); |
349 | return; | 345 | return; |
350 | } else if( !mediaPlayerState->isPaused ) { | 346 | } else if( !mediaPlayerState->isPaused ) { |
351 | qDebug("pause now clicked"); | ||
352 | setToggleButton( i, TRUE ); | 347 | setToggleButton( i, TRUE ); |
353 | mediaPlayerState->setPaused( TRUE ); | 348 | mediaPlayerState->setPaused( TRUE ); |
@@ -380,7 +375,6 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) { | |||
380 | mediaPlayerState->setFullscreen( FALSE ); | 375 | mediaPlayerState->setFullscreen( FALSE ); |
381 | makeVisible(); | 376 | makeVisible(); |
382 | |||
383 | mouseMoveEvent( event ); | ||
384 | } | 377 | } |
378 | mouseMoveEvent( event ); | ||
385 | } | 379 | } |
386 | 380 | ||