From 3f63f0501e44c190c0d9c252c26272929442f07c Mon Sep 17 00:00:00 2001 From: Javier Date: Fri, 25 Dec 2015 23:42:21 +0100 Subject: ignore transient sailfish notifitications --- notificationconn.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'notificationconn.cc') diff --git a/notificationconn.cc b/notificationconn.cc index 7ac17f8..bfe719b 100644 --- a/notificationconn.cc +++ b/notificationconn.cc @@ -138,6 +138,11 @@ void NotificationConn::handleMessageReceived() #if SAILFISH void NotificationConn::handleNotification(watchfish::Notification *wfn) { + if (wfn->transient()) { + // Ignore this notification + return; + } + QString sender = wfn->sender(); short applicationId = _knownSenders.value(sender, 0); if (!applicationId) { -- cgit v1.2.3