[vlc-devel] [PATCH] Qt4: increase height for resume-panel (fix #14566)

Hannes Domani ssbssa at yahoo.de
Fri Feb 26 20:21:47 CET 2016


Needed because hideResumePanel() decreases the height.
---
 modules/gui/qt4/main_interface.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index d8cdbf4..c5a8790 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -415,6 +415,8 @@ void MainInterface::showResumePanel( int64_t _time ) {
         resumePlayback();
     else
     {
+        if( !isFullScreen() && !isMaximized() )
+            resize( width(), height() + resumePanel->height() );
         resumePanel->setVisible(true);
         resumeTimer->start();
     }
-- 
2.7.1



More information about the vlc-devel mailing list