Remove unused code
This commit is contained in:
parent
7ff2c0250d
commit
f9768aeeb0
2 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue