[vlc-commits] commit: Qt: remove unuseful code. (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Wed Apr 7 15:04:38 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Apr  7 15:03:34 2010 +0200| [42383d069c25a4ac9c912567d20152e7a308b940] | committer: Jean-Baptiste Kempf 

Qt: remove unuseful code.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=42383d069c25a4ac9c912567d20152e7a308b940
---

 modules/gui/qt4/main_interface.cpp |   25 -------------------------
 modules/gui/qt4/main_interface.hpp |    1 -
 2 files changed, 0 insertions(+), 26 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index b3b1b52..8dee4fe 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -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 );
diff --git a/modules/gui/qt4/main_interface.hpp b/modules/gui/qt4/main_interface.hpp
index 016c53b..2283c8c 100644
--- a/modules/gui/qt4/main_interface.hpp
+++ b/modules/gui/qt4/main_interface.hpp
@@ -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 */



More information about the vlc-commits mailing list