Commit ec8639f0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Qt] delete Qt preferences too when resetting prefs.

Close #2126
parent 8d57a8b8
...@@ -359,9 +359,10 @@ void PrefsDialog::reset() ...@@ -359,9 +359,10 @@ void PrefsDialog::reset()
{ {
config_ResetAll( p_intf ); config_ResetAll( p_intf );
config_SaveConfigFile( p_intf, NULL ); config_SaveConfigFile( p_intf, NULL );
getSettings()->clear();
instance = NULL;
close(); close();
instance = NULL;
PrefsDialog::getInstance( p_intf )->show(); PrefsDialog::getInstance( p_intf )->show();
} }
} }
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