mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge e0ae5418cb into merged_master (Bitcoin PR bitcoin-core/gui#523)
This commit is contained in:
commit
ebbc64cef3
6 changed files with 18 additions and 18 deletions
|
|
@ -209,8 +209,8 @@ static void CopySettings(QSettings& dst, const QSettings& src)
|
|||
/** Back up a QSettings to an ini-formatted file. */
|
||||
static void BackupSettings(const fs::path& filename, const QSettings& src)
|
||||
{
|
||||
qInfo() << "Backing up GUI settings to" << GUIUtil::boostPathToQString(filename);
|
||||
QSettings dst(GUIUtil::boostPathToQString(filename), QSettings::IniFormat);
|
||||
qInfo() << "Backing up GUI settings to" << GUIUtil::PathToQString(filename);
|
||||
QSettings dst(GUIUtil::PathToQString(filename), QSettings::IniFormat);
|
||||
dst.clear();
|
||||
CopySettings(dst, src);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue