Commit 109900f9 authored by Niklas Hayer's avatar Niklas Hayer Committed by Jean-Baptiste Kempf

Prevented QT4 gui from changing size while maximized. This should fix...

Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit e83df29b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent deabbf7d
......@@ -637,7 +637,7 @@ QSize MainInterface::sizeHint() const
*/
void MainInterface::doComponentsUpdate()
{
if( isFullScreen() ) return;
if( isFullScreen() || isMaximized() ) return;
msg_Dbg( p_intf, "Updating the geometry" );
/* Here we resize to sizeHint() and not adjustsize because we want
......
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