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
Discover
Commits
3856dc0b
Commit
3856dc0b
authored
Nov 23, 2020
by
Alexander Lohnau
💬
Browse files
Utilize useLabel property from KNS engine
parent
b96ce551
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/KNSBackend/KNSResource.cpp
View file @
3856dc0b
...
...
@@ -213,10 +213,7 @@ void KNSResource::invokeApplication() const
QString
KNSResource
::
executeLabel
()
const
{
if
(
knsBackend
()
->
hasApplications
())
{
return
i18n
(
"Launch"
);
}
return
i18n
(
"Use"
);
return
knsBackend
()
->
engine
()
->
useLabel
();
}
QDate
KNSResource
::
releaseDate
()
const
...
...
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