From d3e6191bb548f4fd262e52326f5e8dbfc25b83ee Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Thu, 18 Feb 2021 13:20:33 +0200 Subject: [PATCH] fix - Reset configuration in the General tab resets general settings only (cherry picked from commit 59c84bb57bbf6c4e663662ca6e2f18eabe019f4e) --- src/config/generalconf.cpp | 2 +- src/utils/confighandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/generalconf.cpp b/src/config/generalconf.cpp index cff92233..12f13281 100644 --- a/src/config/generalconf.cpp +++ b/src/config/generalconf.cpp @@ -168,7 +168,7 @@ void GeneralConf::resetConfiguration() if (reply == QMessageBox::Yes) { m_savePath->setText( QStandardPaths::writableLocation(QStandardPaths::PicturesLocation)); - ConfigHandler().setDefaults(); + ConfigHandler().setDefaultSettings(); } } diff --git a/src/utils/confighandler.h b/src/utils/confighandler.h index 3e318f54..4448b28a 100644 --- a/src/utils/confighandler.h +++ b/src/utils/confighandler.h @@ -96,7 +96,7 @@ public: bool useJpgForClipboard() const; void setUseJpgForClipboard(const bool); - void setDefaults(); + void setDefaultSettings(); void setAllTheButtons(); void setIgnoreUpdateToVersion(const QString& text);