[vlc-commits] Qt: fix bug happening when double-click in the embedded video

Jean-Baptiste Kempf git at videolan.org
Fri Dec 9 18:10:20 CET 2011


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec  5 03:05:00 2011 +0100| [f1513e90cf2f42ee3cfff0ab22951a9c5af144e5] | committer: Jean-Baptiste Kempf

Qt: fix bug happening when double-click in the embedded video
(cherry picked from commit 2e9e1015bee5fbd62d78c919dee1dc6786da171c)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=f1513e90cf2f42ee3cfff0ab22951a9c5af144e5
---

 modules/gui/qt4/main_interface.cpp |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 2a3a8f1..7e06cee 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -689,6 +689,14 @@ void MainInterface::setVideoFullScreen( bool fs )
             msg_Dbg( p_intf, "Moving video to correct screen");
             move( QPoint( screenres.x(), screenres.y() ) );
         }
+
+        /* */
+        if( playlistWidget->artContainer->currentWidget() == videoWidget )
+        {
+            showTab( videoWidget );
+        }
+
+        /* */
         setMinimalView( true );
         setInterfaceFullScreen( true );
     }



More information about the vlc-commits mailing list