summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/qfunctionconfigurator.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2014-09-19 09:45:28 +0200
committerStanislaw Halik <sthalik@misaki.pl>2014-09-19 09:53:42 +0200
commit06416c1581409b1fd0737fa8ce7370f58cbdc417 (patch)
tree8002cee846c1c6fdcd1f1d87090ac10340f14a24 /qfunctionconfigurator/qfunctionconfigurator.cpp
parent05b5171229d840b8b120a1e5b765128973270584 (diff)
cleanup mapping codeopentrack-2.2-end-of-alpha
There was quite a bit of duplicated logic, which wasn't duplicated where it needed to be. Make functions out of the duplicated bits, then call where appropriate. Issue: #56
Diffstat (limited to 'qfunctionconfigurator/qfunctionconfigurator.cpp')
-rw-r--r--qfunctionconfigurator/qfunctionconfigurator.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/qfunctionconfigurator/qfunctionconfigurator.cpp b/qfunctionconfigurator/qfunctionconfigurator.cpp
index 3f94f094..70f68285 100644
--- a/qfunctionconfigurator/qfunctionconfigurator.cpp
+++ b/qfunctionconfigurator/qfunctionconfigurator.cpp
@@ -49,13 +49,6 @@ void QFunctionConfigurator::setConfig(FunctionConfig* config, const QString& nam
update();
}
-void QFunctionConfigurator::saveSettings(QString settingsFile, const QString& name) {
- QSettings iniFile(settingsFile, QSettings::IniFormat);
-
- if (_config)
- _config->saveSettings(iniFile, name);
-}
-
void QFunctionConfigurator::drawBackground()
{
if (!_config)