fix(ui/modules/Linphone/Notifications/Notification): display correctly notifications on mac os x

This commit is contained in:
Ronan Abhamon 2017-04-27 11:45:31 +02:00
parent 368a4eb132
commit adf5791954

View file

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