]> git.sesse.net Git - vlc/commitdiff
Prevented QT4 gui from changing size while maximized. This should fix https://trac...
authorNiklas Hayer <nikha354@gmail.com>
Sun, 10 May 2009 18:44:09 +0000 (20:44 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 10 May 2009 23:49:33 +0000 (01:49 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/main_interface.cpp

index ab0eb9ae7a1f1663c61cab7c133c5ef478aa6ca6..8baf686df71f3ebcf5fddb614bf7fd8338086109 100644 (file)
@@ -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