Commit 9752da9d authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

config: Do not use config_SaveConfigFile( , NULL) or config_SaveConfigFile(, "main" ).

parent 867ca80a
...@@ -1112,7 +1112,6 @@ InterfaceWindow::_StoreSettings() ...@@ -1112,7 +1112,6 @@ InterfaceWindow::_StoreSettings()
{ {
/* Save the volume */ /* Save the volume */
config_PutInt( p_intf, "volume", p_mediaControl->GetVolume() ); config_PutInt( p_intf, "volume", p_mediaControl->GetVolume() );
config_SaveConfigFile( p_intf, "main" );
/* Save the windows positions */ /* Save the windows positions */
if ( fSettings->ReplaceRect( "main frame", Frame() ) != B_OK ) if ( fSettings->ReplaceRect( "main frame", Frame() ) != B_OK )
......
...@@ -112,9 +112,6 @@ static void ChangeFiltersString( intf_thread_t *p_intf, ...@@ -112,9 +112,6 @@ static void ChangeFiltersString( intf_thread_t *p_intf,
{ {
/* save changed to config */ /* save changed to config */
config_PutPsz( p_object, "audio-filter", psz_string ); config_PutPsz( p_object, "audio-filter", psz_string );
/* save to vlcrc */
config_SaveConfigFile( p_object, "main" );
} }
free( psz_string ); free( psz_string );
......
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