From: Jean-Baptiste Kempf Date: Thu, 7 Feb 2008 06:54:46 +0000 (+0000) Subject: Qt4 - MI: remove unneeded variables that weren't cleared in the previous commit. X-Git-Tag: 0.9.0-test0~2870 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c6a01bb041e0e1071863b3f298eef99f72403722;p=vlc Qt4 - MI: remove unneeded variables that weren't cleared in the previous commit. --- diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 0c24a43484..d187a2d99c 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -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; - } } /***************************************************************************** diff --git a/modules/gui/qt4/main_interface.hpp b/modules/gui/qt4/main_interface.hpp index 159b4ca481..a046668160 100644 --- a/modules/gui/qt4/main_interface.hpp +++ b/modules/gui/qt4/main_interface.hpp @@ -81,7 +81,6 @@ public: QMenu *getSysTrayMenu() { return systrayMenu; }; int getControlsVisibilityStatus(); - bool b_toUpdate; #if 0 /* Sizehint() */ QSize sizeHint() const; #endif