[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:59 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=be88590

The following commit has been merged in the master branch:
commit be885903e6ae8e157bdf786eaf15d5d86be34da1
Author: Àlex Fiestas <afiestas at kde.org>
Date:   Mon Sep 22 01:25:15 2014 +0200

    Port share to QStandardPaths
    
    It is weird that we are hardcoding kate or anything else for that
    matter, we should be using xdg-open or similar tools.
---
 plugins/share/shareplugin.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/share/shareplugin.cpp b/plugins/share/shareplugin.cpp
index 47497f7..fb05704 100644
--- a/plugins/share/shareplugin.cpp
+++ b/plugins/share/shareplugin.cpp
@@ -24,7 +24,7 @@
 #include <KGlobalSettings>
 #include <QIcon>
 #include <KLocalizedString>
-#include <KStandardDirs>
+#include <QStandardPaths>
 #include <KSharedConfig>
 #include <KConfigGroup>
 #include <KJobTrackerInterface>
@@ -107,7 +107,7 @@ bool SharePlugin::receivePackage(const NetworkPackage& np)
         job->start();
     } else if (np.has("text")) {
         QString text = np.get<QString>("text");
-        if (!KStandardDirs::findExe("kate").isEmpty()) {
+        if (!QStandardPaths::findExecutable("kate").isEmpty()) {
             QProcess* proc = new QProcess();
             connect(proc, SIGNAL(finished(int)), proc, SLOT(deleteLater()));
             proc->start("kate", QStringList("--stdin"));

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list