[vlc-commits] Qt: do not loose fullscreen controller after customization

Jean-Baptiste Kempf git at videolan.org
Sun Mar 11 18:45:58 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 11 18:00:27 2012 +0100| [126679799c39ee3fec9af2fe52c1287e974b91ee] | committer: Jean-Baptiste Kempf

Qt: do not loose fullscreen controller after customization

Close #6116

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

 modules/gui/qt4/input_manager.hpp  |    2 ++
 modules/gui/qt4/main_interface.cpp |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/input_manager.hpp b/modules/gui/qt4/input_manager.hpp
index bbb51c0..efcfb67 100644
--- a/modules/gui/qt4/input_manager.hpp
+++ b/modules/gui/qt4/input_manager.hpp
@@ -262,6 +262,8 @@ public:
 
     bool getPlayExitState();
     bool hasEmptyPlaylist();
+
+    void requestVoutUpdate() { return im->UpdateVout(); }
 private:
     MainInputManager( intf_thread_t * );
     virtual ~MainInputManager();
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 98f93ea..7a72362 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -348,6 +348,7 @@ void MainInterface::recreateToolbars()
         fullscreenControls = new FullscreenControllerWidget( p_intf, this );
         CONNECT( fullscreenControls, keyPressed( QKeyEvent * ),
                  this, handleKeyPress( QKeyEvent * ) );
+        THEMIM->requestVoutUpdate();
     }
 }
 



More information about the vlc-commits mailing list