summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 659ad0f)
raw | patch | inline | side by side (parent: 659ad0f)
author | dgerlach <d-gerlach@ti.com> | |
Wed, 26 Sep 2012 20:23:57 +0000 (15:23 -0500) | ||
committer | dgerlach <d-gerlach@ti.com> | |
Wed, 26 Sep 2012 20:23:57 +0000 (15:23 -0500) |
ThermostatDemoSource/globalsettings.cpp | patch | blob | history |
index 9de3a1886cc42627160a38411eb621d267f5cabf..2851254082a7bc8e83d2b138c5143dba305dbcbb 100644 (file)
settingsObject.setValue("temperature-format", temperatureFormat());
settingsObject.setValue("time-format", timeFormat());
+ if(settingsObject.status() == QSettings::NoError)
+ return true;
+ else
+ return false;
+
}
//FUNCTION: load()
qDebug() << "Time Format: " << timeFormat();
qDebug() << "Data Path: " << dataPath();
+ if(settingsObject.status() == QSettings::NoError)
+ return true;
+ else
+ return false;
}
void GlobalSettings::setProxyInfo(QString proxyHost, qint16 proxyPort)