mirror of
https://invent.kde.org/marcoa/a-la-karte.git
synced 2026-03-26 17:03:08 +00:00
krunner: remove unscoped launch fallbacks
This commit is contained in:
parent
fbd9311384
commit
8e77a35f7f
1 changed files with 0 additions and 12 deletions
|
|
@ -185,18 +185,6 @@ void AlakarteRunner::run(const KRunner::RunnerContext &context, const KRunner::Q
|
|||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Fallback: daemon unavailable or no game ID
|
||||
if (command.startsWith(QLatin1String("steam://")) || command.startsWith(QLatin1String("lutris:"))) {
|
||||
QProcess::startDetached(QStringLiteral("xdg-open"), {command});
|
||||
return;
|
||||
}
|
||||
|
||||
QStringList args = QProcess::splitCommand(command);
|
||||
if (!args.isEmpty()) {
|
||||
QString program = args.takeFirst();
|
||||
QProcess::startDetached(program, args);
|
||||
}
|
||||
}
|
||||
|
||||
#include "alakarterunner.moc"
|
||||
|
|
|
|||
Loading…
Reference in a new issue