diff options
author | saturneric <[email protected]> | 2024-05-11 12:56:41 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-05-11 12:56:41 +0000 |
commit | 0c4eae9b24abe4eb8e86641c8ffdaa07e734b742 (patch) | |
tree | df2e12c524b69d777d666a49fd92ccbb836f59fc | |
parent | fix: rewrite function signature SlotMkdirBelowAtSelectedItem (diff) | |
download | GpgFrontend-0c4eae9b24abe4eb8e86641c8ffdaa07e734b742.tar.gz GpgFrontend-0c4eae9b24abe4eb8e86641c8ffdaa07e734b742.zip |
fix: use &(exec_contexts.first()) instead of exec_contexts.constData() at qt5 env
-rw-r--r-- | src/module/mods/gpg_info/GnuPGInfoGatheringModule.cpp | 5 |
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); |