[vlc-commits] Qt: increase height for resume-panel

Hannes Domani git at videolan.org
Sat Feb 27 16:49:09 CET 2016


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Feb 26 20:21:47 2016 +0100| [b1b21338cd195aab1de59d2608a4f90ae7cb5893] | committer: Jean-Baptiste Kempf

Qt: increase height for resume-panel

Needed because hideResumePanel() decreases the height.
Close #14566

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

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

 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 9c12ad7..7b55b26 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();
     }



More information about the vlc-commits mailing list