]> git.sesse.net Git - vlc/commitdiff
fileinfo.*: I should lean C++
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 4 Mar 2006 22:53:51 +0000 (22:53 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 4 Mar 2006 22:53:51 +0000 (22:53 +0000)
modules/gui/wxwidgets/dialogs/fileinfo.cpp
modules/gui/wxwidgets/dialogs/fileinfo.hpp

index d8b1cdbb7d6a5d2982d7e0bd974c769f13aa2b5c..a1f63279a0fc2ad845f47832e646a7bba23365ca 100644 (file)
@@ -58,7 +58,7 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
     playlist_t *p_playlist = (playlist_t *)vlc_object_find( p_intf,
                                                  VLC_OBJECT_PLAYLIST,
                                                  FIND_ANYWHERE );
-    bool b_stats = config_GetInt(p_intf, "stats");
+    b_stats = config_GetInt(p_intf, "stats");
     /* Initializations */
     SetIcon( *p_intf->p_sys->p_icon );
     SetAutoLayout( TRUE );
@@ -104,7 +104,6 @@ FileInfo::FileInfo( intf_thread_t *_p_intf, wxWindow *p_parent ):
 
 void FileInfo::Update()
 {
-
     if( mdate() - last_update < 400000L ) return;
     last_update = mdate();
 
index 76079d9d1849e9b68288094747bc66c94fdb3ffb..c847b2985cf8cd2f487befd1eba52dd2163c7966 100644 (file)
@@ -42,7 +42,6 @@ namespace wxvlc
         void Update();
 
         vlc_bool_t b_need_update;
-        bool b_stats;
 
     private:
         void OnButtonClose( wxCommandEvent& event );
@@ -59,6 +58,8 @@ namespace wxvlc
         InputStatsInfoPanel *stats_info;
 
         wxBoxSizer *panel_sizer;
+
+        bool b_stats;
     };
 };