Commit e0d50ff1 authored by Shubham  .'s avatar Shubham .

Port to KRun::runApplication

Reviewers: jgrulich, hein, abetts

Reviewed By: hein

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14652
parent 3035914c
......@@ -197,8 +197,7 @@ bool AppEntry::run(const QString& actionId, const QVariant &argument)
}
#endif
// TODO Once we depend on KDE Frameworks 5.24 and D1902 is merged, use KRun::runApplication instead
KRun::runService(*m_service, {}, nullptr, true, {}, KStartupInfo::createNewStartupIdForTimestamp(timeStamp));
KRun::runApplication(*m_service, {}, nullptr, KRun::DeleteTemporaryFiles, {}, KStartupInfo::createNewStartupIdForTimestamp(timeStamp));
KActivities::ResourceInstance::notifyAccessed(QUrl(QStringLiteral("applications:") + m_service->storageId()),
QStringLiteral("org.kde.plasma.kicker"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment