mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 06:23:06 +02:00
fix for values without defaults
This commit is contained in:
parent
720f8ecae8
commit
bd68126b19
1 changed files with 6 additions and 1 deletions
|
@ -92,7 +92,12 @@ QVariant DomainServerSettingsManager::valueOrDefaultValueForKeyPath(const QStrin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (foundValue) {
|
||||||
return *foundValue;
|
return *foundValue;
|
||||||
|
} else {
|
||||||
|
return QVariant();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const QString SETTINGS_PATH = "/settings.json";
|
const QString SETTINGS_PATH = "/settings.json";
|
||||||
|
|
Loading…
Reference in a new issue