aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/UserInterfaceUtils.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index 5c07e009..fc90fa7c 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -413,8 +413,7 @@ void CommonUtils::SlotImportKeyFromKeyServer(
return;
}
- if (Module::IsModuleActivate(
- "com.bktus.gpgfrontend.module.key_server_sync")) {
+ if (Module::IsModuleActivate(kKeyServerSyncModuleID)) {
// LOOP
decltype(key_ids.size()) current_index = 1;
decltype(key_ids.size()) all_index = key_ids.size();
@@ -659,8 +658,7 @@ void CommonUtils::ImportKeyFromKeyServer(int channel,
void CommonUtils::ImportKeyByKeyServerSyncModule(QWidget *parent, int channel,
const QList<QString> &fprs) {
- if (!Module::IsModuleActivate(
- "com.bktus.gpgfrontend.module.key_server_sync")) {
+ if (!Module::IsModuleActivate(kKeyServerSyncModuleID)) {
return;
}