author | simon <simon> | 2002-12-11 18:12:49 (UTC) |
---|---|---|
committer | simon <simon> | 2002-12-11 18:12:49 (UTC) |
commit | d9a6575f931b288086da701c3094b475c73d2efc (patch) (side-by-side diff) | |
tree | 652c2d51610750cc06de2e9e2c7690e1f347c886 | |
parent | f4865ac8e114baedd13c95160631e4574da9dc84 (diff) | |
download | opie-d9a6575f931b288086da701c3094b475c73d2efc.zip opie-d9a6575f931b288086da701c3094b475c73d2efc.tar.gz opie-d9a6575f931b288086da701c3094b475c73d2efc.tar.bz2 |
- set the correct status on the fullscreen toggle button when returning
from fullscreen mode
-rw-r--r-- | noncore/multimedia/opieplayer2/videowidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/multimedia/opieplayer2/videowidget.cpp b/noncore/multimedia/opieplayer2/videowidget.cpp index 2a345e3..2300630 100644 --- a/noncore/multimedia/opieplayer2/videowidget.cpp +++ b/noncore/multimedia/opieplayer2/videowidget.cpp @@ -195,24 +195,25 @@ void VideoWidget::updateSlider( long i, long max ) { void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) { if ( mediaPlayerState.isFullscreen() ) { mediaPlayerState.setFullscreen( FALSE ); makeVisible(); } MediaWidget::mouseReleaseEvent( event ); } void VideoWidget::backToNormal() { mediaPlayerState.setFullscreen( FALSE ); makeVisible(); + setToggleButton( FullScreen, false ); } void VideoWidget::makeVisible() { if ( mediaPlayerState.isFullscreen() ) { setBackgroundMode( QWidget::NoBackground ); showFullScreen(); resize( qApp->desktop()->size() ); videoFrame-> setGeometry ( 0, 0, width ( ), height ( )); slider->hide(); disconnect( &mediaPlayerState, SIGNAL( positionChanged(long) ),this, SLOT( setPosition(long) ) ); disconnect( &mediaPlayerState, SIGNAL( positionUpdated(long) ),this, SLOT( setPosition(long) ) ); |