summaryrefslogtreecommitdiffstats
path: root/depends/settings/inisettingsobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'depends/settings/inisettingsobject.cpp')
-rw-r--r--depends/settings/inisettingsobject.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/depends/settings/inisettingsobject.cpp b/depends/settings/inisettingsobject.cpp
index 5e52a56f..2cee8e3c 100644
--- a/depends/settings/inisettingsobject.cpp
+++ b/depends/settings/inisettingsobject.cpp
@@ -28,6 +28,11 @@ void INISettingsObject::setFilePath(const QString &filePath)
m_filePath = filePath;
}
+bool INISettingsObject::reload()
+{
+ return m_ini.loadFile(m_filePath) && SettingsObject::reload();
+}
+
void INISettingsObject::changeSetting(const Setting &setting, QVariant value)
{
if (contains(setting.id()))