Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
f29c8bd4
Commit
f29c8bd4
authored
Oct 24, 2020
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Oct 24, 2020
Browse files
appstreamrunner: Demote the matches so they get less in the way
parent
db009f5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
runners/appstream/appstreamrunner.cpp
View file @
f29c8bd4
...
...
@@ -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
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment