Commit cfdbf5e6 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Revert "Resolve service files from applications folder"

This reverts commit 215d3259.

This stopped finding krunner.desktop which is currently in
share/kglobalaccel. Installing it elsewhere wouldn't make a difference
because we need to be backwards compatible.

A good way around that would be to check both directories.

CCBUG: 421329
parent 215d3259
......@@ -33,7 +33,7 @@ KServiceActionComponent::KServiceActionComponent(
GlobalShortcutsRegistry *registry)
: Component(serviceStorageId, friendlyName, registry),
m_desktopFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("applications/") + serviceStorageId))
m_desktopFile(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kglobalaccel/") + serviceStorageId))
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