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
@@ -136,3 +136,2 @@ QWidget( parent, name, f ), scaledWidth( 0 ), scaledHeight( 0 ) {
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) ) );
@@ -356,3 +355,2 @@ void VideoWidget::mouseMoveEvent( QMouseEvent *event ) {
case VideoStop: mediaPlayerState->setPlaying( FALSE ); return;
-// case VideoPause: mediaPlayerState->setPaused(videoButtons[i].isDown); return;
case VideoNext: mediaPlayerState->setNext(); return;
@@ -377,3 +375,3 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) {
}
- mouseMoveEvent( event );
+ mouseMoveEvent( event );
}
@@ -409,9 +407,3 @@ void VideoWidget::paintEvent( QPaintEvent * pe) {
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() ) {
@@ -432,6 +424,2 @@ void VideoWidget::paintEvent( QPaintEvent * pe) {
}
- // for ( int i = 0; i < numButtons; i++ ) {
- // paintButton( &p, i );
- // }
- // draw the slider
slider->repaint( TRUE );
@@ -504,5 +492,2 @@ void VideoWidget::setFullscreen ( bool b ) {
-void VideoWidget::setPaused( bool b) {
-// setToggleButton( VideoPause, b );
-}