[Service Runner] Don't use KRun::runService

It blocks KRunner while the application is loading and in some cases
(like Kate's session selection dialog) might never return.

BUG: 361917
FIXED-IN: 5.7.0

Differential Revision: https://phabricator.kde.org/D1769
wilder-5.14
Kai Uwe Broulik 10 years ago
parent 939521a905
commit 83eacf74ce
  1. 2
      runners/services/servicerunner.cpp

@ -292,7 +292,7 @@ void ServiceRunner::run(const Plasma::RunnerContext &context, const Plasma::Quer
QStringLiteral("org.kde.krunner")
);
KRun::runService(*service, {}, nullptr);
new KRun(QUrl::fromLocalFile(service->entryPath()), nullptr, true);
}
}

Loading…
Cancel
Save