aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyMgmt.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/KeyMgmt.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 '')
-rwxr-xr-xsrc/ui/KeyMgmt.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/KeyMgmt.cpp b/src/ui/KeyMgmt.cpp
index 3715b01a..a0209d10 100755
--- a/src/ui/KeyMgmt.cpp
+++ b/src/ui/KeyMgmt.cpp
@@ -371,7 +371,6 @@ void KeyMgmt::slotExportKeyToKeyPackage() {
}
void KeyMgmt::slotExportKeyToClipboard() {
-
auto keys_checked = key_list_->getChecked();
if (keys_checked->empty()) {
QMessageBox::critical(
@@ -465,7 +464,7 @@ void KeyMgmt::slotSaveWindowState() {
key_management.add("window_state", libconfig::Setting::TypeString) =
saveState().toBase64().toStdString();
- GlobalSettingStation::GetInstance().Sync();
+ GlobalSettingStation::GetInstance().SyncSettings();
}
void KeyMgmt::slotExportAsOpenSSHFormat() {