diff options
Diffstat (limited to 'ApplicationWindow.qml')
| -rw-r--r-- | ApplicationWindow.qml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ApplicationWindow.qml b/ApplicationWindow.qml index 72df372..8695461 100644 --- a/ApplicationWindow.qml +++ b/ApplicationWindow.qml @@ -1,16 +1,14 @@ -import QtQuick 2.15 -import QtQuick.Templates 2.15 -import Bootstrap 5.3 +import QtQuick +import QtQuick.Templates +import Bootstrap ApplicationWindow { id: window color: Bootstrap.bodyBg - overlay { - modal: Rectangle { - color: Color.transparent(window.palette.shadow, .5) - } - modeless: Rectangle { - color: Color.transparent(window.palette.shadow, .15) - } + Overlay.modal: Rectangle { + color: Color.transparent(window.palette.shadow, .5) + } + Overlay.modeless: Rectangle { + color: Color.transparent(window.palette.shadow, .15) } } |