Commit 867ca80a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

macosx: Do NOT call config_SaveConfigFile() if you don't intend to save ALL...

macosx: Do NOT call config_SaveConfigFile() if you don't intend to save ALL the options that might have changed. If you want to autosave something, the config option needs to be marked with change_autosave() and the core will save the option.
parent 23209051
......@@ -659,11 +659,6 @@ static VLCMain *_o_sharedMainInstance = nil;
/* make sure that the current volume is saved */
config_PutInt( p_intf->p_libvlc, "volume", i_lastShownVolume );
returnedValue = config_SaveConfigFile( p_intf->p_libvlc, "main" );
if( returnedValue != 0 )
msg_Err( p_intf,
"error while saving volume in osx's terminate method (%i)",
returnedValue );
/* save the prefs if they were changed in the extended panel */
if(o_extended && [o_extended getConfigChanged])
......
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