MCPcopy Create free account
hub / github.com/ElementsProject/elements / BackupSettings

Function BackupSettings

src/qt/optionsmodel.cpp:213–219  ·  view source on GitHub ↗

Back up a QSettings to an ini-formatted file. */

Source from the content-addressed store, hash-verified

211
212/** Back up a QSettings to an ini-formatted file. */
213static void BackupSettings(const fs::path& filename, const QSettings& src)
214{
215 qInfo() << "Backing up GUI settings to" << GUIUtil::PathToQString(filename);
216 QSettings dst(GUIUtil::PathToQString(filename), QSettings::IniFormat);
217 dst.clear();
218 CopySettings(dst, src);
219}
220
221void OptionsModel::Reset()
222{

Callers 1

ResetMethod · 0.85

Calls 3

PathToQStringFunction · 0.85
CopySettingsFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected