Commit e83df29b 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>
parent 0036da65
...@@ -637,7 +637,7 @@ QSize MainInterface::sizeHint() const ...@@ -637,7 +637,7 @@ QSize MainInterface::sizeHint() const
*/ */
void MainInterface::doComponentsUpdate() void MainInterface::doComponentsUpdate()
{ {
if( isFullScreen() ) return; if( isFullScreen() || isMaximized() ) return;
msg_Dbg( p_intf, "Updating the geometry" ); msg_Dbg( p_intf, "Updating the geometry" );
/* Here we resize to sizeHint() and not adjustsize because we want /* 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