MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / getSettings

Method getSettings

sources/base/InstanceConfig.cpp:219–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219QJsonObject InstanceConfig::getSettings() const
220{
221 QJsonObject dbConfig;
222 for (const auto& key : _qconfig.keys())
223 {
224 QJsonDocument doc = _sTable->getSettingsRecord(key);
225 if (doc.isArray())
226 dbConfig[key] = doc.array();
227 else
228 dbConfig[key] = doc.object();
229 }
230 return dbConfig;
231}
232
233bool InstanceConfig::isReadOnlyMode()
234{

Callers 2

startCaptureFunction · 0.80
putJsonConfigMethod · 0.80

Calls 1

getSettingsRecordMethod · 0.80

Tested by

no test coverage detected