From ceebcfc209a39b9f62944dba61556286eeafd343 Mon Sep 17 00:00:00 2001 From: Max Risuhin Date: Sun, 14 Oct 2018 17:16:22 +0300 Subject: [PATCH] Do not set notification identifier Signed-off-by: Max Risuhin --- .../backends/osxnotificationcenter/osxnotificationcenter.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm index c17b246..af92866 100644 --- a/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm +++ b/src/plugins/backends/osxnotificationcenter/osxnotificationcenter.mm @@ -149,12 +149,13 @@ OSXNotificationCenter::~OSXNotificationCenter() void OSXNotificationCenter::slotNotify(Snore::Notification notification) { + qDebug() << "!!! OSXNotificationCenter::slotNotify"; NSUserNotification * osxNotification = [[[NSUserNotification alloc] init] autorelease]; NSString * notificationId = [NSString stringWithFormat:@"%d",notification.id()]; osxNotification.title = notification.title().toNSString(); osxNotification.userInfo = [NSDictionary dictionaryWithObjectsAndKeys:notificationId, @"id", nil]; osxNotification.informativeText = notification.text().toNSString(); - osxNotification.identifier = notificationId; + // osxNotification.identifier = notificationId; // Add notification to mapper from id to Nofification / NSUserNotification m_IdToNotification.insert(notification.id(), notification);