]> git.sesse.net Git - vlc/commitdiff
qt4: improve code readability.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 3 Aug 2010 22:29:17 +0000 (00:29 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 3 Aug 2010 22:29:17 +0000 (00:29 +0200)
modules/gui/qt4/main_interface.hpp

index e2a59852f1bed0494d9d12aa2d2a5955c2e580e2..d6a59512d97c0b0a0f7f2cc5283e8da7cc192e37 100644 (file)
@@ -214,13 +214,19 @@ private slots:
 
     void showBuffering( float );
 
-    void resizeStack( int w, int h ) {
+    void resizeStack( int w, int h )
+    {
         if( !isFullScreen() && !isMaximized() )
-            if( b_minimalView ) resize( w, h ); /* Oh yes, it shouldn't
+        {
+            if( b_minimalView )
+                resize( w, h ); /* Oh yes, it shouldn't
                                    be possible that size() - stackCentralW->size() < 0
                                    since stackCentralW is contained in the QMW... */
-            else resize( size() - stackCentralW->size() + QSize( w, h ) );
-        debug(); }
+            else
+                resize( size() - stackCentralW->size() + QSize( w, h ) );
+        }
+        debug();
+    }
 
     void setVideoSize( unsigned int, unsigned int );
     void setVideoFullScreen( bool );