MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / ensureDefault

Function ensureDefault

syncthingwidgets/quick/app.cpp:720–726  ·  view source on GitHub ↗

\cond

Source from the content-addressed store, hash-verified

718
719/// \cond
720static void ensureDefault(bool &mod, QJsonObject &o, QLatin1String member, const QJsonValue &d)
721{
722 if (!o.contains(member)) {
723 o.insert(member, d);
724 mod = true;
725 }
726}
727/// \endcond
728
729bool App::applyLauncherSettings()

Callers 2

applyLauncherSettingsMethod · 0.85
applySettingsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected