Commit b9836886 authored by Christophe Mutricy's avatar Christophe Mutricy

fileinfo.*: I should lean C++

parent a80da5c3
......@@ -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();
......
......@@ -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;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment