aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-08-05 16:31:08 +0000
committersaturneric <[email protected]>2024-08-05 16:31:08 +0000
commita11655ce47e778b2b449938651257c7c863b3174 (patch)
tree2ebd24f7bc455fc081170a1d6a31c77a590bc170 /src/ui/UserInterfaceUtils.cpp
parentfix: custom key database feature not working (diff)
downloadGpgFrontend-a11655ce47e778b2b449938651257c7c863b3174.tar.gz
GpgFrontend-a11655ce47e778b2b449938651257c7c863b3174.zip
fix: key server adding or switching is actually not working
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r--src/ui/UserInterfaceUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index c6be2715..0f462cf7 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -560,7 +560,7 @@ void CommonUtils::RemoveKeyFromFavourite(const GpgKey &key) {
*
*/
void CommonUtils::ImportKeyFromKeyServer(const KeyIdArgsList &key_ids) {
- KeyServerSO key_server(SettingsObject("general_settings_state"));
+ KeyServerSO key_server(SettingsObject("key_server"));
auto target_keyserver = key_server.GetTargetServer();
auto *task = new KeyServerImportTask(target_keyserver, key_ids);