]> git.sesse.net Git - vlc/commitdiff
Qt: remove unuseful code.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 7 Apr 2010 13:03:34 +0000 (15:03 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 7 Apr 2010 13:03:34 +0000 (15:03 +0200)
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp

index b3b1b5275fa37591f0eb953e89f9e8ccfb01a2f7..8dee4fe71403cb820956dfb42ed31d685cf2049c 100644 (file)
@@ -1081,31 +1081,6 @@ void MainInterface::handleKeyPress( QKeyEvent *e )
         e->ignore();
 }
 
-void MainInterface::resizeEvent( QResizeEvent * event )
-{
-#if 0
-    if( b_keep_size )
-    {
-        if( i_visualmode )
-        {
-                mainVideoSize = size();
-        }
-        else
-        {
-            if( VISIBLE( bgWidget) ||
-                ( videoIsActive && videoWidget->isVisible() )
-              )
-                mainVideoSize = size();
-            else
-                mainBasedSize = size();
-        }
-    }
-#endif
-    QVLCMW::resizeEvent( event );
-    msg_Dbg( p_intf, "Resize Event, height: %i", size().height() );
-    debug();
-}
-
 void MainInterface::wheelEvent( QWheelEvent *e )
 {
     int i_vlckey = qtWheelEventToVLCKey( e );
index 016c53b45ef48970d2212133b1da980342ef2d5b..2283c8c9b08d14b752279e8772f2630255128905 100644 (file)
@@ -100,7 +100,6 @@ protected:
     virtual void customEvent( QEvent *);
     virtual void keyPressEvent( QKeyEvent *);
     virtual void wheelEvent( QWheelEvent * );
-    virtual void resizeEvent( QResizeEvent * event );
 
 private:
     /* Main Widgets Creation */