summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp
index f5780aa..5a23d84 100644
--- a/noncore/multimedia/opieplayer2/videowidget.cpp
+++ b/noncore/multimedia/opieplayer2/videowidget.cpp
@@ -135,5 +135,4 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) {
connect( mediaPlayerState, SIGNAL( lengthChanged(long) ), this, SLOT( setLength(long) ) );
connect( mediaPlayerState, SIGNAL( viewChanged(char) ), this, SLOT( setView(char) ) );
- connect( mediaPlayerState, SIGNAL( pausedToggled(bool) ), this, SLOT( setPaused(bool) ) );
connect( mediaPlayerState, SIGNAL( playingToggled(bool) ), this, SLOT( setPlaying(bool) ) );
@@ -355,5 +354,4 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) {
case VideoStop: mediaPlayerState->setPlaying( FALSE ); return;
-// case VideoPause: mediaPlayerState->setPaused(videoButtons[i].isDown); return;
case VideoNext: mediaPlayerState->setNext(); return;
case VideoPrevious: mediaPlayerState->setPrev(); return;
@@ -376,5 +374,5 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) {
makeVisible();
}
- mouseMoveEvent( event );
+ mouseMoveEvent( event );
}
@@ -408,11 +406,5 @@ void VideoWidget::paintEvent( QPaintEvent * pe) {
// Clear the background
p.setBrush( QBrush( Qt::black ) );
- // videoFrame->setGeometry( QRect( 0, 0 , 240 ,320 ) );
-
} else {
-
- // videoFrame->setGeometry( QRect( 0, 15 , 240 ,170 ) );
- // draw the buttons
-
if ( !pe->erased() ) {
// Combine with background and double buffer
@@ -431,8 +423,4 @@ void VideoWidget::paintEvent( QPaintEvent * pe) {
paintButton( &p, i );
}
- // for ( int i = 0; i < numButtons; i++ ) {
- // paintButton( &p, i );
- // }
- // draw the slider
slider->repaint( TRUE );
}
@@ -503,7 +491,4 @@ void VideoWidget::setFullscreen ( bool b ) {
}
-void VideoWidget::setPaused( bool b) {
-// setToggleButton( VideoPause, b );
-}
void VideoWidget::setPlaying( bool b) {