D26650: Use KService to look for Filelight
Anthony Fieroni
noreply at phabricator.kde.org
Tue Jan 14 19:22:09 GMT 2020
anthonyfieroni added inline comments.
INLINE COMMENTS
> kpropertiesdialog.cpp:1452-1457
> void KFilePropsPlugin::slotSizeDetails()
> {
> // Open the current folder in filelight
> - KRun::run((QStandardPaths::findExecutable(QStringLiteral("filelight"))), { properties->url() }, properties->window(), QStringLiteral("Filelight"), QStringLiteral("filelight"));
> + KService::Ptr service = KService::serviceByDesktopName(QStringLiteral("org.kde.filelight"));
> + KRun::runApplication(*service, { properties->url() }, properties->window());
> }
Remove
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D26650
To: shubham, broulik, ngraham
Cc: anthonyfieroni, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200114/f07a4798/attachment.html>
More information about the Kde-frameworks-devel
mailing list