Make KNS applications act more like applications

This patch adds functionality to allow the KNS backend to report
applications in a more familiar fashion: If the specific backend
has applications, the run button will read Launch (rather than
Use), and only be shown if there are downloaded (installed)
executables to run, and then run that when activated.

Differential Revision:
parent 6589e22f
......@@ -234,6 +234,9 @@ void KNSResource::invokeApplication() const
QString KNSResource::executeLabel() const
if(knsBackend()->hasApplications()) {
return i18n("Launch");
return i18n("Use");
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