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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:29:46 UTC 2016


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

The following commit has been merged in the master branch:
commit 4d1cf586120d652d5ed1218c320271d4df1b31d4
Author: Aleix Pol <aleixpol at kde.org>
Date:   Sun Jun 5 23:08:47 2016 +0200

    Reflect to changes in the json file
    
    We shouldn't have changed mousepad -> input, reverting
---
 plugins/remotecontrol/remotecontrolplugin.cpp | 4 ++--
 plugins/remotecontrol/remotecontrolplugin.h   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/remotecontrol/remotecontrolplugin.cpp b/plugins/remotecontrol/remotecontrolplugin.cpp
index 283e342..3b20569 100644
--- a/plugins/remotecontrol/remotecontrolplugin.cpp
+++ b/plugins/remotecontrol/remotecontrolplugin.cpp
@@ -44,7 +44,7 @@ RemoteControlPlugin::~RemoteControlPlugin()
 
 void RemoteControlPlugin::moveCursor(const QPoint &p)
 {
-    NetworkPackage np(PACKAGE_TYPE_INPUT_REQUEST);
+    NetworkPackage np(PACKAGE_TYPE_MOUSEPAD_REQUEST);
     np.set("dx", p.x());
     np.set("dy", p.y());
     sendPackage(np);
@@ -52,7 +52,7 @@ void RemoteControlPlugin::moveCursor(const QPoint &p)
 
 void RemoteControlPlugin::sendCommand(const QString &name, bool val)
 {
-    NetworkPackage np(PACKAGE_TYPE_INPUT_REQUEST);
+    NetworkPackage np(PACKAGE_TYPE_MOUSEPAD_REQUEST);
     np.set(name, val);
     sendPackage(np);
 }
diff --git a/plugins/remotecontrol/remotecontrolplugin.h b/plugins/remotecontrol/remotecontrolplugin.h
index 7236fdd..f2bad77 100644
--- a/plugins/remotecontrol/remotecontrolplugin.h
+++ b/plugins/remotecontrol/remotecontrolplugin.h
@@ -25,7 +25,7 @@
 
 #include <core/kdeconnectplugin.h>
 
-#define PACKAGE_TYPE_INPUT_REQUEST QLatin1String("kdeconnect.input.request")
+#define PACKAGE_TYPE_MOUSEPAD_REQUEST QLatin1String("kdeconnect.mousepad.request")
 
 class Q_DECL_EXPORT RemoteControlPlugin
     : public KdeConnectPlugin

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list