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

Jean-Baptiste Kempf git at videolan.org
Mon Mar 12 12:13:26 CET 2012


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

Qt: do not loose fullscreen controller after customization

Close #6116
(cherry picked from commit 126679799c39ee3fec9af2fe52c1287e974b91ee)

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

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

 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 f10aa89..3c12708 100644
--- a/modules/gui/qt4/input_manager.hpp
+++ b/modules/gui/qt4/input_manager.hpp
@@ -263,6 +263,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 2ac2397..1230404 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