diff --git a/service/src/settings.cpp b/service/src/settings.cpp index fdb0445..6f6d990 100644 --- a/service/src/settings.cpp +++ b/service/src/settings.cpp @@ -115,18 +115,6 @@ bool Settings::loadInteger(const char *key, int &currValue, const int min, const return true; } -bool Settings::loadString(const char *key, QString & currValue) { - QString newValue = mySettings->value(key, currValue).toString(); - if(currValue == newValue) { - logD(QString("Load: %1 %2 (unchanged)").arg(key).arg(currValue)); - return false; - } - currValue = newValue; - logV(QString("Load: %1 %2").arg(key).arg(currValue)); - return true; -} - - void Settings::updateConfig(const QString path) { // Use the same file location as GUI for data exchange diff --git a/service/src/settings.h b/service/src/settings.h index 52a6b7f..a7e4320 100644 --- a/service/src/settings.h +++ b/service/src/settings.h @@ -95,7 +95,6 @@ private: const char* sLogLevel = "logLevel"; bool loadInteger(const char *key, int &currValue, const int min, const int max); - bool loadString(const char *key, QString & currValue); private slots: void updateConfig(const QString path);