[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:28:57 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=b21a468
The following commit has been merged in the master branch:
commit b21a4682a9020116a1f3340660bef6bf94482535
Author: Albert Vaca <albertvaka at gmail.com>
Date: Mon Sep 7 11:10:32 2015 -0700
Fixed notification flags being overwritten
---
plugins/telephony/telephonyplugin.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/telephony/telephonyplugin.cpp b/plugins/telephony/telephonyplugin.cpp
index c81498f..157121a 100644
--- a/plugins/telephony/telephonyplugin.cpp
+++ b/plugins/telephony/telephonyplugin.cpp
@@ -56,13 +56,13 @@ KNotification* TelephonyPlugin::createNotification(const NetworkPackage& np)
type = QStringLiteral("missedCall");
icon = QStringLiteral("call-start");
content = i18n("Missed call from %1", phoneNumber);
- flags = KNotification::Persistent;
+ flags |= KNotification::Persistent;
} else if (event == "sms") {
type = QStringLiteral("smsReceived");
icon = QStringLiteral("mail-receive");
QString messageBody = np.get<QString>("messageBody","");
content = i18n("SMS from %1<br>%2", phoneNumber, messageBody);
- flags = KNotification::Persistent;
+ flags |= KNotification::Persistent;
} else if (event == "talking") {
return NULL;
} else {
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list