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

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


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

The following commit has been merged in the master branch:
commit 936d843194e0728427f0a379a93dd5f688f9ad40
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Thu Aug 1 02:32:43 2013 +0200

    Changed sms notification message
---
 daemon/packageinterfaces/notificationpackageinterface.cpp | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/daemon/packageinterfaces/notificationpackageinterface.cpp b/daemon/packageinterfaces/notificationpackageinterface.cpp
index e0a001b..83f54e0 100644
--- a/daemon/packageinterfaces/notificationpackageinterface.cpp
+++ b/daemon/packageinterfaces/notificationpackageinterface.cpp
@@ -35,7 +35,6 @@ KNotification* NotificationPackageInterface::createNotification(const QString& d
     if (npType == "ringing") {
         type = "callReceived";
         icon = "call-start";
-        QString number =
         content = "Incoming call from " + np.get<QString>("phoneNumber","unknown number");
     } else if (npType == "missedCall") {
         type = "missedCall";
@@ -44,7 +43,10 @@ KNotification* NotificationPackageInterface::createNotification(const QString& d
     } else if (npType == "sms") {
         type = "smsReceived";
         icon = "mail-receive";
-        content = "SMS received from " + np.get<QString>("phoneNumber","unknown number");
+        content = "SMS from "
+            + np.get<QString>("phoneNumber","unknown number")
+            + ":
"
+            + np.get<QString>("messageBody","");
     } else if (npType == "battery") {
         type = "battery100";
         icon = "battery-100";

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list