Added openService() method to KRunProxy so plasmoids can start applications without needing to use openUrl() and "apps" data source.
Details
Details
Diff Detail
Diff Detail
- Repository
- R296 KDeclarative
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Use runApplication for running applications which doesn't block until the app has registered a DBus service
This comment was removed by maxrd2.
Comment Actions
Yes, but it will start services that have Exec line though.
Should i just rename the method to "openApplication" or "runApplication" ?
Adding something like this wont change much it seems.
if(!service->isApplication()) KRun::runService(*service, QList<QUrl>(), nullptr) != 0;