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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:26:48 UTC 2016


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

The following commit has been merged in the master branch:
commit 5f1c7b8c564898c7d97558c275dcd3128bca26c2
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Fri Aug 16 08:25:29 2013 +0200

    Removed unused variable and extra line breaks
---
 daemon/plugins/notifications/notificationsplugin.cpp | 2 --
 daemon/plugins/telephony/telephonyplugin.cpp         | 5 -----
 2 files changed, 7 deletions(-)

diff --git a/daemon/plugins/notifications/notificationsplugin.cpp b/daemon/plugins/notifications/notificationsplugin.cpp
index 3a6b3e2..fdafeb7 100644
--- a/daemon/plugins/notifications/notificationsplugin.cpp
+++ b/daemon/plugins/notifications/notificationsplugin.cpp
@@ -23,11 +23,9 @@
 #include <QDebug>
 #include <kicon.h>
 
-
 K_PLUGIN_FACTORY( KdeConnectPluginFactory, registerPlugin< NotificationsPlugin >(); )
 K_EXPORT_PLUGIN( KdeConnectPluginFactory("kdeconnect_notifications", "kdeconnect_notifications") )
 
-
 NotificationsPlugin::NotificationsPlugin(QObject* parent, const QVariantList& args)
     : KdeConnectPlugin(parent, args)
 {
diff --git a/daemon/plugins/telephony/telephonyplugin.cpp b/daemon/plugins/telephony/telephonyplugin.cpp
index 29282ea..48f63a7 100644
--- a/daemon/plugins/telephony/telephonyplugin.cpp
+++ b/daemon/plugins/telephony/telephonyplugin.cpp
@@ -38,7 +38,6 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
     QString event = np.get<QString>("event");
 
     QString title, content, type, icon;
-    bool transient;
 
     title = device()->name();
 
@@ -46,12 +45,10 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
         type = "callReceived";
         icon = "call-start";
         content = "Incoming call from " + np.get<QString>("phoneNumber","unknown number");
-        transient = false;
     } else if (event == "missedCall") {
         type = "missedCall";
         icon = "call-start";
         content = "Missed call from " + np.get<QString>("phoneNumber","unknown number");
-        transient = true;
     } else if (event == "sms") {
         type = "smsReceived";
         icon = "mail-receive";
@@ -59,13 +56,11 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
             + np.get<QString>("phoneNumber","unknown number")
             + ":
"
             + np.get<QString>("messageBody","");
-            transient = true;
     } else {
         //TODO: return NULL if !debug
         type = "unknownEvent";
         icon = "pda";
         content = "Unknown notification type: " + event;
-        transient = false;
     }
 
     qDebug() << "Creating notification with type:" << type;

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list