[Digikam-devel] [digikam] [Bug 365375] Open with... ignores parameters of Exec line in Desktop Entry
David Faure via KDE Bugzilla
bugzilla_noreply at kde.org
Thu Jul 14 14:48:52 BST 2016
https://bugs.kde.org/show_bug.cgi?id=365375
David Faure <faure at kde.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |faure at kde.org
--- Comment #3 from David Faure <faure at kde.org> ---
This patch looks awful to me ;)
(it duplicates what KRun does much better, it breaks on files with a
double-quote in the name, and for non-local files, it breaks on any other
special command from the desktop entry spec like %d since it will keep it
instead of providing its value, etc.)
Why not just use KRun::runService() or (since KF 5.24) KRun::runApplication() ?
For the other overload (without a kservice), there's KRun::run().
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list