From adf5791954f513cfc2b233fd4e08a5b2f79511b9 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Thu, 27 Apr 2017 11:45:31 +0200 Subject: [PATCH] fix(ui/modules/Linphone/Notifications/Notification): display correctly notifications on mac os x --- .../ui/modules/Linphone/Notifications/Notification.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/linphone-desktop/ui/modules/Linphone/Notifications/Notification.qml b/linphone-desktop/ui/modules/Linphone/Notifications/Notification.qml index 18d740f4f..5ea373399 100644 --- a/linphone-desktop/ui/modules/Linphone/Notifications/Notification.qml +++ b/linphone-desktop/ui/modules/Linphone/Notifications/Notification.qml @@ -19,5 +19,8 @@ DesktopPopup { deleteNotification(notification) } - flags: Qt.Tool | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint + flags: { + return (Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint) & + (Qt.platform.os === 'osx' ? Qt.Window : Qt.Tool) + } }