Also reload the instance cfg

While this should work, there don't seem to be any places where the signals are listened for, so changes probably will only be available when calling Setting::get
TODO: Fix that ^
This commit is contained in:
Jan Dalheimer
2014-03-09 08:43:08 +01:00
parent 44f21406e9
commit f1dc456802
5 changed files with 23 additions and 2 deletions

View File

@ -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()))