[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:26:47 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=b30371d
The following commit has been merged in the master branch:
commit b30371d17470ec6a2d7a497195c7b1265b0f3787
Author: Albert Vaca <albertvaka at gmail.com>
Date: Fri Aug 16 06:23:03 2013 +0200
Telephony "notifications" are now called "events"
---
daemon/plugins/telephony/telephonyplugin.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/daemon/plugins/telephony/telephonyplugin.cpp b/daemon/plugins/telephony/telephonyplugin.cpp
index 5029d32..29282ea 100644
--- a/daemon/plugins/telephony/telephonyplugin.cpp
+++ b/daemon/plugins/telephony/telephonyplugin.cpp
@@ -35,24 +35,24 @@ TelephonyPlugin::TelephonyPlugin(QObject *parent, const QVariantList &args)
KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
{
- QString npType = np.get<QString>("notificationType");
+ QString event = np.get<QString>("event");
QString title, content, type, icon;
bool transient;
title = device()->name();
- if (npType == "ringing") {
+ if (event == "ringing") {
type = "callReceived";
icon = "call-start";
content = "Incoming call from " + np.get<QString>("phoneNumber","unknown number");
transient = false;
- } else if (npType == "missedCall") {
+ } else if (event == "missedCall") {
type = "missedCall";
icon = "call-start";
content = "Missed call from " + np.get<QString>("phoneNumber","unknown number");
transient = true;
- } else if (npType == "sms") {
+ } else if (event == "sms") {
type = "smsReceived";
icon = "mail-receive";
content = "SMS from "
@@ -64,7 +64,7 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
//TODO: return NULL if !debug
type = "unknownEvent";
icon = "pda";
- content = "Unknown notification type: " + npType;
+ content = "Unknown notification type: " + event;
transient = false;
}
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list