[vlc-devel] commit: Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883 (Niklas Hayer )
git version control
git at videolan.org
Mon May 11 01:50:04 CEST 2009
vlc | branch: master | Niklas Hayer <nikha354 at gmail.com> | Sun May 10 20:44:09 2009 +0200| [e83df29b1f39dd46fe8893e5e111ed8be9a17e2d] | committer: Jean-Baptiste Kempf
Prevented QT4 gui from changing size while maximized. This should fix https://trac.videolan.org/vlc/ticket/1883
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e83df29b1f39dd46fe8893e5e111ed8be9a17e2d
---
modules/gui/qt4/main_interface.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index ab0eb9a..8baf686 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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
More information about the vlc-devel
mailing list