Commit d2058115 authored by Marco Martin's avatar Marco Martin
Browse files

add "Application" type to .desktop, not "bookmark"

makes adding apps to activity to current activity work correctly

CCBUG:320235
parent b340050b
......@@ -101,7 +101,7 @@ QVariant ActivitiesProvider::executeAction(SLC::Provider::Action action, const Q
KService::Ptr service = KService::serviceByDesktopPath(QUrl(resourceUrl).path());
if (service) {
fileRes = Nepomuk2::Resource(service->entryPath());
const QUrl typeUrl = Nepomuk2::Vocabulary::NFO::Bookmark();
const QUrl typeUrl = Nepomuk2::Vocabulary::NFO::Application();
QList <QUrl> types;
types << typeUrl;
......
Supports Markdown
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