]> git.sesse.net Git - vlc/commitdiff
Qt4 - MI: remove unneeded variables that weren't cleared in the previous commit.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 7 Feb 2008 06:54:46 +0000 (06:54 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 7 Feb 2008 06:54:46 +0000 (06:54 +0000)
modules/gui/qt4/main_interface.cpp
modules/gui/qt4/main_interface.hpp

index 0c24a43484ebfee19ce9a67630ea9856f48beabc..d187a2d99c86c2d65c2d35db3a533ae755ae4d3f 100644 (file)
@@ -924,14 +924,6 @@ void MainInterface::updateOnTimer()
         QApplication::closeAllWindows();
         QApplication::quit();
     }
-
-    /* For some weird reasons, we have to resize the intf after intf-show
-       Of course this is wrong, but I can't fix it now */
-    if( p_intf->p_sys->p_mi->b_toUpdate )
-    {
-        doComponentsUpdate();
-        p_intf->p_sys->p_mi->b_toUpdate = false;
-    }
 }
 
 /*****************************************************************************
index 159b4ca481219e33f0fe2427095eecbeddb6bb39..a04666816010c985c4f2474f8d701a0646b28115 100644 (file)
@@ -81,7 +81,6 @@ public:
     QMenu *getSysTrayMenu() { return systrayMenu; };
     int getControlsVisibilityStatus();
 
-    bool b_toUpdate;
 #if 0    /* Sizehint() */
     QSize sizeHint() const;
 #endif