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

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


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

The following commit has been merged in the master branch:
commit 588c956191c15ca417586cf6c2140ab7cbdff883
Author: Aleix Pol <aleixpol at kde.org>
Date:   Sun Jun 5 23:05:25 2016 +0200

    We don't receive requests in the mprisremote plugin
---
 plugins/mprisremote/mprisremoteplugin.cpp | 2 +-
 plugins/mprisremote/mprisremoteplugin.h   | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/plugins/mprisremote/mprisremoteplugin.cpp b/plugins/mprisremote/mprisremoteplugin.cpp
index c9be7da..b2e669a 100644
--- a/plugins/mprisremote/mprisremoteplugin.cpp
+++ b/plugins/mprisremote/mprisremoteplugin.cpp
@@ -52,7 +52,7 @@ MprisRemotePlugin::~MprisRemotePlugin()
 
 bool MprisRemotePlugin::receivePackage(const NetworkPackage& np)
 {
-    if (np.type() != PACKAGE_TYPE_MPRIS_REQUEST)
+    if (np.type() != PACKAGE_TYPE_MPRIS)
         return false;
 
     if (np.has("nowPlaying") || np.has("volume") || np.has("isPlaying") || np.has("length") || np.has("pos")) {
diff --git a/plugins/mprisremote/mprisremoteplugin.h b/plugins/mprisremote/mprisremoteplugin.h
index 606eae1..a96d356 100644
--- a/plugins/mprisremote/mprisremoteplugin.h
+++ b/plugins/mprisremote/mprisremoteplugin.h
@@ -26,6 +26,7 @@
 #include <core/kdeconnectplugin.h>
 
 #define PACKAGE_TYPE_MPRIS_REQUEST QLatin1String("kdeconnect.mpris.request")
+#define PACKAGE_TYPE_MPRIS QLatin1String("kdeconnect.mpris")
 
 class Q_DECL_EXPORT MprisRemotePlugin
     : public KdeConnectPlugin

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list