Update macos notification.

This commit is contained in:
Black Hat 2018-10-20 09:23:20 +08:00
parent d5847e797b
commit c80ff1380e
1 changed files with 0 additions and 1 deletions

View File

@ -30,7 +30,6 @@ NotificationsManager::postNotification(
notif.title = roomName.toNSString();
notif.subtitle = QString("%1 sent a message").arg(senderName).toNSString();
notif.informativeText = text.toNSString();
notif.soundName = NSUserNotificationDefaultSoundName;
[[NSUserNotificationCenter defaultUserNotificationCenter] deliverNotification: notif];
[notif autorelease];