MCPcopy Create free account
hub / github.com/QNapi/qnapi / restoreDefaults

Method restoreDefaults

gui/src/forms/frmoptions.cpp:497–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

495}
496
497void frmOptions::restoreDefaults() {
498 QSettings settings;
499 settings.clear();
500 const QNapiConfig defaultConfig =
501 LibQNapi::configReader()->readConfig(settings);
502
503#ifdef Q_OS_MAC
504 InfoPlistDockIcon::setShowDockIcon(true);
505#endif
506
507 readConfig(defaultConfig);
508}

Callers

nothing calls this directly

Calls 1

readConfigMethod · 0.45

Tested by

no test coverage detected