gamecenter: bound waitForStarted during direct launch

This commit is contained in:
Marco Allegretti 2026-02-13 14:04:11 +01:00
parent 88db54458e
commit 058fe8c8e0

View file

@ -1279,7 +1279,7 @@ QString GameCenterDaemon::launchDirect(const QVariantMap &launchSpec)
} }
process->start(program, args); process->start(program, args);
if (!process->waitForStarted()) { if (!process->waitForStarted(5000)) {
const QVariantMap ctx = { const QVariantMap ctx = {
{QStringLiteral("command"), command}, {QStringLiteral("command"), command},
{QStringLiteral("program"), program}, {QStringLiteral("program"), program},