]> git.sesse.net Git - vlc/commitdiff
remove (seems to be) unneeded b_need_update variable
authorIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Dec 2007 11:53:34 +0000 (11:53 +0000)
committerIlkka Ollakka <ileoo@videolan.org>
Thu, 13 Dec 2007 11:53:34 +0000 (11:53 +0000)
modules/gui/qt4/dialogs/mediainfo.cpp
modules/gui/qt4/dialogs/mediainfo.hpp

index fc69d0e71d849c3deb1ebca5a62460789afea24b..8286fcc196e1a502b8e23382e0bfc094ead160df 100644 (file)
@@ -42,7 +42,6 @@ MediaInfoDialog::MediaInfoDialog( intf_thread_t *_p_intf,
 {
     i_runs = 0;
     p_item = _p_item;
-    b_need_update = true;
     b_cleaned = true;
 
     setWindowTitle( qtr( "Media information" ) );
@@ -133,9 +132,7 @@ void MediaInfoDialog::update( input_thread_t *p_input )
     /* Launch the update in all the panels */
     vlc_object_yield( p_input );
 
-    update( input_GetItem(p_input), b_need_update, b_need_update );
-    b_need_update = false;
-    b_cleaned = false;
+    update( input_GetItem(p_input), true, true);
 
     vlc_object_release( p_input );
 }
index 76ad847d2fab4d0b492278867c8494512162a02a..0432bede5d13463072a34f269dfd4f980daf04da 100644 (file)
@@ -62,7 +62,6 @@ public:
 #if 0
     void setInput( input_item_t * );
 #endif
-    bool b_need_update;
 
 private:
     input_item_t *p_item;