git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d57a8b
)
[Qt] delete Qt preferences too when resetting prefs.
author
Jean-Baptiste Kempf
<jb@videolan.org>
Fri, 17 Oct 2008 10:36:35 +0000
(12:36 +0200)
committer
Jean-Baptiste Kempf
<jb@videolan.org>
Fri, 17 Oct 2008 10:36:35 +0000
(12:36 +0200)
Close #2126
modules/gui/qt4/dialogs/preferences.cpp
patch
|
blob
|
history
diff --git
a/modules/gui/qt4/dialogs/preferences.cpp
b/modules/gui/qt4/dialogs/preferences.cpp
index
f8146ee
..
2d8bab8
100644
(file)
--- a/
modules/gui/qt4/dialogs/preferences.cpp
+++ b/
modules/gui/qt4/dialogs/preferences.cpp
@@
-359,9
+359,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();
}
}