fix: use &(exec_contexts.first()) instead of exec_contexts.constData() at qt5 env

This commit is contained in:
saturneric 2024-05-11 14:56:41 +02:00
parent 427c983ca2
commit 0c4eae9b24

View File

@ -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);