Commit f29c8bd4 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez

appstreamrunner: Demote the matches so they get less in the way

parent db009f5a
......@@ -118,6 +118,7 @@ void InstallerRunner::match(Plasma::RunnerContext &context)
match.setText(i18n("Get %1...", component.name()));
match.setSubtext(component.summary());
match.setData(QUrl("appstream://" + componentId));
match.setRelevance(component.name().compare(context.query(), Qt::CaseInsensitive) == 0 ? 1. : 0.7);
context.addMatch(match);
}
}
......
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