Commit e204e192 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: do not loose fullscreen controller after customization

Close #6116
(cherry picked from commit 126679799c39ee3fec9af2fe52c1287e974b91ee)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 68827e62
...@@ -263,6 +263,8 @@ public: ...@@ -263,6 +263,8 @@ public:
bool getPlayExitState(); bool getPlayExitState();
bool hasEmptyPlaylist(); bool hasEmptyPlaylist();
void requestVoutUpdate() { return im->UpdateVout(); }
private: private:
MainInputManager( intf_thread_t * ); MainInputManager( intf_thread_t * );
virtual ~MainInputManager(); virtual ~MainInputManager();
......
...@@ -348,6 +348,7 @@ void MainInterface::recreateToolbars() ...@@ -348,6 +348,7 @@ void MainInterface::recreateToolbars()
fullscreenControls = new FullscreenControllerWidget( p_intf, this ); fullscreenControls = new FullscreenControllerWidget( p_intf, this );
CONNECT( fullscreenControls, keyPressed( QKeyEvent * ), CONNECT( fullscreenControls, keyPressed( QKeyEvent * ),
this, handleKeyPress( QKeyEvent * ) ); this, handleKeyPress( QKeyEvent * ) );
THEMIM->requestVoutUpdate();
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment