mirror of
https://invent.kde.org/marcoa/a-la-karte.git
synced 2026-03-26 17:03:08 +00:00
gamecenter: bound waitForStarted during direct launch
This commit is contained in:
parent
88db54458e
commit
058fe8c8e0
1 changed files with 1 additions and 1 deletions
|
|
@ -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},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue