Get relevant SnoreCore instance in osxnotificationcenter backend

Signed-off-by: Max Risuhin <risuhin.max@gmail.com>
This commit is contained in:
Max Risuhin 2018-10-15 13:41:34 +03:00
parent e176aada26
commit 637d9551aa
No known key found for this signature in database
GPG Key ID: BF733F5ACA0B4448
1 changed files with 1 additions and 1 deletions

View File

@ -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