[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
Sat Jul 16 11:25:18 BST 2016


https://bugs.kde.org/show_bug.cgi?id=365375

--- Comment #7 from David Faure <faure at kde.org> ---
You could at least use KIO::DesktopExecParser which does the parsing and
escaping correctly (unlike this QRegExp, when given a complex sh Exec line),
and fully supports the desktop entry spec (you added %d, but not %k...).

             KIO::DesktopExecParser parser(service, QList <QUrl>() <<
QUrl::fromLocalFile(dest));
             process.setArguments(parser.resultingArguments());

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list