summaryrefslogtreecommitdiff
path: root/noncore/multimedia/opieplayer2/videowidget.cpp
authorsimon <simon>2002-12-11 18:12:49 (UTC)
committer simon <simon>2002-12-11 18:12:49 (UTC)
commitd9a6575f931b288086da701c3094b475c73d2efc (patch) (unidiff)
tree652c2d51610750cc06de2e9e2c7690e1f347c886 /noncore/multimedia/opieplayer2/videowidget.cpp
parentf4865ac8e114baedd13c95160631e4574da9dc84 (diff)
downloadopie-d9a6575f931b288086da701c3094b475c73d2efc.zip
opie-d9a6575f931b288086da701c3094b475c73d2efc.tar.gz
opie-d9a6575f931b288086da701c3094b475c73d2efc.tar.bz2
- set the correct status on the fullscreen toggle button when returning
from fullscreen mode
Diffstat (limited to 'noncore/multimedia/opieplayer2/videowidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/multimedia/opieplayer2/videowidget.cpp1
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
@@ -201,12 +201,13 @@ void VideoWidget::mouseReleaseEvent( QMouseEvent *event ) {
201 MediaWidget::mouseReleaseEvent( event ); 201 MediaWidget::mouseReleaseEvent( event );
202} 202}
203 203
204void VideoWidget::backToNormal() { 204void VideoWidget::backToNormal() {
205 mediaPlayerState.setFullscreen( FALSE ); 205 mediaPlayerState.setFullscreen( FALSE );
206 makeVisible(); 206 makeVisible();
207 setToggleButton( FullScreen, false );
207} 208}
208 209
209void VideoWidget::makeVisible() { 210void VideoWidget::makeVisible() {
210 if ( mediaPlayerState.isFullscreen() ) { 211 if ( mediaPlayerState.isFullscreen() ) {
211 setBackgroundMode( QWidget::NoBackground ); 212 setBackgroundMode( QWidget::NoBackground );
212 showFullScreen(); 213 showFullScreen();