Commit e14328ac authored by Yoann Peronneau's avatar Yoann Peronneau

* use add_file instead of add_string for skins2-last - this fixes QT interface simple prefs

parent cdda8bc8
...@@ -445,8 +445,8 @@ static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable, ...@@ -445,8 +445,8 @@ static int onTaskBarChange( vlc_object_t *pObj, const char *pVariable,
vlc_module_begin(); vlc_module_begin();
set_category( CAT_INTERFACE ); set_category( CAT_INTERFACE );
set_subcategory( SUBCAT_INTERFACE_MAIN ); set_subcategory( SUBCAT_INTERFACE_MAIN );
add_string( "skins2-last", "", NULL, SKINS2_LAST, SKINS2_LAST_LONG, add_file( "skins2-last", "", NULL, SKINS2_LAST, SKINS2_LAST_LONG,
VLC_TRUE ); VLC_TRUE );
change_autosave(); change_autosave();
add_string( "skins2-config", "", NULL, SKINS2_CONFIG, SKINS2_CONFIG_LONG, add_string( "skins2-config", "", NULL, SKINS2_CONFIG, SKINS2_CONFIG_LONG,
VLC_TRUE ); VLC_TRUE );
......
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