[vlc-commits] commit: Qt: do not resize if we were in fullscreen or maximized ( Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Tue Apr 13 00:48:46 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Apr 13 00:48:50 2010 +0200| [3f4676f555ca447b4c3eabb899e1a47d0c81d1cf] | committer: Jean-Baptiste Kempf
Qt: do not resize if we were in fullscreen or maximized
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f4676f555ca447b4c3eabb899e1a47d0c81d1cf
---
modules/gui/qt4/main_interface.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/main_interface.hpp b/modules/gui/qt4/main_interface.hpp
index a5efc7c..e26bfa4 100644
--- a/modules/gui/qt4/main_interface.hpp
+++ b/modules/gui/qt4/main_interface.hpp
@@ -208,7 +208,8 @@ private slots:
void showBuffering( float );
void resizeStack( int w, int h ) {
- resize( size() - stackCentralW->size() + QSize( w, h ) );
+ if( !isFullScreen() && !isMaximized() )
+ resize( size() - stackCentralW->size() + QSize( w, h ) );
debug(); }
More information about the vlc-commits
mailing list