diff options
author | Javier <dev.git@javispedro.com> | 2015-12-25 23:42:21 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2015-12-25 23:42:21 +0100 |
commit | 3f63f0501e44c190c0d9c252c26272929442f07c (patch) | |
tree | ffdb3bcaee2f334faeb5a68586e7fe76ca5200a1 /notificationconn.cc | |
parent | ab90fac4e4c306f47ab0903b33d1b3aacb228c46 (diff) | |
download | sapd-3f63f0501e44c190c0d9c252c26272929442f07c.tar.gz sapd-3f63f0501e44c190c0d9c252c26272929442f07c.zip |
ignore transient sailfish notifitications
Diffstat (limited to 'notificationconn.cc')
-rw-r--r-- | notificationconn.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |