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

--- Comment #7 from David Faure <fa...@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 watching all bug changes.

Reply via email to