aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-11-25 22:42:25 +0000
committersaturneric <[email protected]>2024-11-25 22:42:25 +0000
commit296de126739a0b0a1556f9f34533255c05634651 (patch)
tree8dd47144081f47d9e57eca3aa8b3da5278310827 /src/ui/UserInterfaceUtils.cpp
parentfix: handling of split CRLF sequences during text insertion (diff)
downloadGpgFrontend-296de126739a0b0a1556f9f34533255c05634651.tar.gz
GpgFrontend-296de126739a0b0a1556f9f34533255c05634651.zip
feat: support verifying email through eml data
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;
}