Commit 2c7ac6c8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[Qt] delete Qt preferences too when resetting prefs.

Close #2126
(cherry picked from commit ec8639f0)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 4f3aa8b0
......@@ -360,9 +360,10 @@ void PrefsDialog::reset()
{
config_ResetAll( p_intf );
config_SaveConfigFile( p_intf, NULL );
getSettings()->clear();
instance = NULL;
close();
instance = NULL;
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