From c80ff1380e47249e9d99ad3e406fcd576c63d0a0 Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 20 Oct 2018 09:23:20 +0800 Subject: [PATCH] Update macos notification. --- src/notifications/managermac.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/notifications/managermac.mm b/src/notifications/managermac.mm index 782be1f..d4cf6de 100644 --- a/src/notifications/managermac.mm +++ b/src/notifications/managermac.mm @@ -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];