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

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:59 UTC 2016


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

The following commit has been merged in the master branch:
commit df81ed0a339a50b78134843c3ace946b119e15e5
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 ea807a7..40fc6b3 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 nullptr;
     } else {

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list