D15813: Respect users prefered text editor for shared text
Kai Uwe Broulik
noreply at phabricator.kde.org
Fri Sep 28 15:24:26 BST 2018
broulik added inline comments.
INLINE COMMENTS
> shareplugin.cpp:118
> + if (defaultApp == QLatin1String("org.kde.kate") || defaultApp == QLatin1String("org.kde.kwrite")) {
> + qDebug() << service->exec();
> QProcess* proc = new QProcess();
Remove debug
> shareplugin.cpp:121
> connect(proc, SIGNAL(finished(int)), proc, SLOT(deleteLater()));
> - proc->start(QStringLiteral("kate"), QStringList(QStringLiteral("--stdin")));
> + proc->start(service->exec() + QStringLiteral(" --stdin"));
> proc->write(text.toUtf8());
Doesn't that contain stuff like `%U` or is that already resolved in `KService`?
REPOSITORY
R224 KDE Connect
REVISION DETAIL
https://phabricator.kde.org/D15813
To: nicolasfella, #kde_connect, broulik, apol
Cc: kdeconnect, wistak, dvalencia, rmenezes, julioc, Leptopoda, timothyc, jdvr, yannux, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, ndavis, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, menasshock, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180928/1eac918f/attachment.html>
More information about the KDEConnect
mailing list