summaryrefslogtreecommitdiffstats
path: root/src/dlgprefkey.cpp
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2014-04-16 10:54:35 -0400
committerRJ Ryan <rryan@mixxx.org>2014-04-16 10:54:35 -0400
commit5f8670a7ddcca2bf82f89cb2e64b6116ee0ff02d (patch)
tree384466e7c950cd54d452c634a0b98ddcc4acc6ff /src/dlgprefkey.cpp
parent8d6e46a753eb0b7a5348d9962675043247f09293 (diff)
Add a reset to defaults button to the Preferences chrome.
* Remove all individual page reset buttons. * Add reset logic to Library page. * Add TODOs to write reset logic for interface, modplug, recording, shoutcast and vinyl control pages.
Diffstat (limited to 'src/dlgprefkey.cpp')
-rw-r--r--src/dlgprefkey.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dlgprefkey.cpp b/src/dlgprefkey.cpp
index 4aea7c4fb5..049914d22a 100644
--- a/src/dlgprefkey.cpp
+++ b/src/dlgprefkey.cpp
@@ -99,7 +99,7 @@ void DlgPrefKey::loadSettings(){
if(m_pConfig->getValueString(
ConfigKey(VAMP_CONFIG_KEY, VAMP_ANALYSER_KEY_PLUGIN_ID)) == "") {
- setDefaults();
+ slotResetToDefaults();
slotApply(); // Write to config file so AnalyserKey can get the data
return;
}
@@ -144,12 +144,12 @@ void DlgPrefKey::loadSettings(){
}
if (!m_listIdentifier.contains(pluginid)) {
- setDefaults();
+ slotResetToDefaults();
}
slotUpdate();
}
-void DlgPrefKey::setDefaults() {
+void DlgPrefKey::slotResetToDefaults() {
m_bAnalyserEnabled = true;
m_bFastAnalysisEnabled = false;
m_bReanalyzeEnabled = false;