From e555e7549d369feaf2e6176a75a5f56fe2774995 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 12 Jun 2016 15:44:00 +0200 Subject: add category property to Notification --- notificationmonitor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'notificationmonitor.cpp') diff --git a/notificationmonitor.cpp b/notificationmonitor.cpp index 5e159ec..60e226a 100644 --- a/notificationmonitor.cpp +++ b/notificationmonitor.cpp @@ -114,6 +114,8 @@ void NotificationMonitorPrivate::processIncomingNotification(quint32 id, const P n->setTimestamp(QDateTime::currentDateTime()); } + n->setCategory(proto.hints.value("category")); + n->setPreviewSummary(proto.hints.value("x-nemo-preview-summary")); n->setPreviewBody(proto.hints.value("x-nemo-preview-body")); -- cgit v1.2.3