aboutsummaryrefslogtreecommitdiffstats
path: root/src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp')
-rw-r--r--src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp b/src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp
index 949f7287..79d148b6 100644
--- a/src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp
+++ b/src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp
@@ -215,8 +215,11 @@ auto GFExecuteModule(GFModuleEvent *event) -> int {
}
GFExecuteCommandBatchSync(static_cast<int32_t>(exec_contexts.size()),
+#ifdef QT5_BUILD
+ &(exec_contexts.first()));
+#else
exec_contexts.constData());
-
+#endif
GFModuleUpsertRTValueBool(GFGetModuleID(),
GFModuleStrDup("gnupg.gathering_done"), 1);