Init Windows notification image.

This commit is contained in:
Black Hat
2018-10-20 14:59:37 +08:00
parent 6339fd78a2
commit 2e4fed72fe
9 changed files with 41 additions and 31 deletions

View File

@@ -19,11 +19,13 @@ NotificationsManager::postNotification(
const QString &roomName,
const QString &senderName,
const QString &text,
const QImage &icon)
const QImage &icon,
const QUrl &iconPath)
{
Q_UNUSED(roomId);
Q_UNUSED(eventId);
Q_UNUSED(icon);
Q_UNUSED(iconPath);
NSUserNotification * notif = [[NSUserNotification alloc] init];