let main dialog have a transparent background again

will fix white corners appearing below the main dialog content

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
Matthieu Gallien 2024-08-27 19:08:48 +02:00
parent d09f7c988e
commit bf6ca29020
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553

View file

@ -35,6 +35,7 @@ ApplicationWindow {
width: Systray.useNormalWindow ? Style.trayWindowHeight : Style.trayWindowWidth
height: Style.trayWindowHeight
flags: Systray.useNormalWindow ? Qt.Window : Qt.Dialog | Qt.FramelessWindowHint
color: 'transparent'
readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth