fix: use &(exec_contexts.first()) instead of exec_contexts.constData() at qt5 env
This commit is contained in:
parent
427c983ca2
commit
0c4eae9b24
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user