Get relevant SnoreCore instance in osxnotificationcenter backend
Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
parent
e176aada26
commit
637d9551aa
|
@ -113,7 +113,7 @@ BOOL installNSBundleHook()
|
|||
qCWarning(SNORE) << "Notification with following id is delivered or dismissed:" << notificationId;
|
||||
auto snoreNotification = m_IdToNotification.take(notificationId);
|
||||
snoreNotification.removeActiveIn(notificationCenter);
|
||||
snoreNotification.removeActiveIn(&SnoreCore::instance());
|
||||
snoreNotification.removeActiveIn(notificationCenter->getSnoreCore());
|
||||
});
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Reference in New Issue