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

Jean-Baptiste Kempf jb at videolan.org
Fri Feb 26 20:23:22 CET 2016


Is that tested and working on an actual machine with qt4.8?

On 26 Feb, Hannes Domani wrote :
> 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
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the vlc-devel mailing list