diff options
Diffstat (limited to '')
-rw-r--r-- | src/ui/dialog/keypair_details/KeyPairDetailTab.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp b/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp index 21c16107..8450083f 100644 --- a/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp +++ b/src/ui/dialog/keypair_details/KeyPairDetailTab.cpp @@ -306,16 +306,10 @@ void KeyPairDetailTab::slot_refresh_key() { void KeyPairDetailTab::slot_query_key_publish_state() { bool forbid_all_gnupg_connection = - GlobalSettingStation::GetInstance() - .GetSettings() - .value("network/forbid_all_gnupg_connection") - .toBool(); + GetSettings().value("network/forbid_all_gnupg_connection").toBool(); bool auto_fetch_key_publish_status = - GlobalSettingStation::GetInstance() - .GetSettings() - .value("network/auto_fetch_key_publish_status") - .toBool(); + GetSettings().value("network/auto_fetch_key_publish_status").toBool(); if (forbid_all_gnupg_connection || !auto_fetch_key_publish_status) return; |