aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/settings/SettingsDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-12 04:43:30 +0000
committerSaturneric <[email protected]>2022-01-12 04:43:30 +0000
commita1b49d54338724ca8b6bf1c7e8b0a0e1e7287184 (patch)
tree9433389e530a75acfbc6deb30bf5dfc85e8bab30 /src/ui/settings/SettingsDialog.cpp
parent<feat>(ui): Added ability to encrypt data object storage (diff)
downloadGpgFrontend-a1b49d54338724ca8b6bf1c7e8b0a0e1e7287184.tar.gz
GpgFrontend-a1b49d54338724ca8b6bf1c7e8b0a0e1e7287184.zip
<refactor>(ui): Change Sync() to Sync Settings()
Diffstat (limited to 'src/ui/settings/SettingsDialog.cpp')
-rw-r--r--src/ui/settings/SettingsDialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/settings/SettingsDialog.cpp b/src/ui/settings/SettingsDialog.cpp
index 01e4094f..dc84e8ac 100644
--- a/src/ui/settings/SettingsDialog.cpp
+++ b/src/ui/settings/SettingsDialog.cpp
@@ -38,7 +38,6 @@
namespace GpgFrontend::UI {
SettingsDialog::SettingsDialog(QWidget* parent) : QDialog(parent) {
-
tabWidget = new QTabWidget();
generalTab = new GeneralTab();
appearanceTab = new AppearanceTab();
@@ -126,7 +125,7 @@ void SettingsDialog::slotAccept() {
LOG(INFO) << "apply done";
// write settings to filesystem
- GlobalSettingStation::GetInstance().Sync();
+ GlobalSettingStation::GetInstance().SyncSettings();
LOG(INFO) << "restart needed" << getRestartNeeded();
if (getRestartNeeded()) {