diff options
author | Javier <dev.git@javispedro.com> | 2016-06-12 15:44:00 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2016-06-12 15:44:00 +0200 |
commit | e555e7549d369feaf2e6176a75a5f56fe2774995 (patch) | |
tree | cd95e3c2656b0e20a955f3e01b7aa6583dbf9d66 /notificationmonitor.cpp | |
parent | 5f0258acc1c18db4f1bc40e40cdb01a9f0e16ab2 (diff) | |
download | libwatchfish-e555e7549d369feaf2e6176a75a5f56fe2774995.tar.gz libwatchfish-e555e7549d369feaf2e6176a75a5f56fe2774995.zip |
add category property to Notification
Diffstat (limited to 'notificationmonitor.cpp')
-rw-r--r-- | notificationmonitor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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")); |