From 90e4a53d223b087d92a1c4536d27687aaad634cd Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Wed, 12 Feb 2025 16:42:30 +0100 Subject: [PATCH] fix rounded corners in the call notification also enforce a non-transparent base background colour (e.g. for Win11) Signed-off-by: Jyrki Gadinger --- src/gui/tray/CallNotificationDialog.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/tray/CallNotificationDialog.qml b/src/gui/tray/CallNotificationDialog.qml index 8ab7bc6665f86..3050540279798 100644 --- a/src/gui/tray/CallNotificationDialog.qml +++ b/src/gui/tray/CallNotificationDialog.qml @@ -24,7 +24,7 @@ import Qt5Compat.GraphicalEffects ApplicationWindow { id: root - color: palette.base + color: "transparent" flags: Qt.Dialog | Qt.FramelessWindowHint | Qt.WindowStaysOnTopHint readonly property int windowSpacing: 10 @@ -89,7 +89,7 @@ ApplicationWindow { width: parent.width height: contentLayout.height + (root.windowSpacing * 2) radius: Systray.useNormalWindow ? 0.0 : Style.trayWindowRadius - color: palette.base + color: Style.colorWithoutTransparency(palette.base) border.width: Style.trayWindowBorderWidth border.color: palette.dark clip: true