diff options
| author | Erik Prabowo Kamal <erik@darapsa.org> | 2025-12-09 20:32:11 +0800 |
|---|---|---|
| committer | Erik Prabowo Kamal <erik@darapsa.org> | 2025-12-09 20:32:11 +0800 |
| commit | 54357cfb6648b6d129d75d0a77f135028c7160fe (patch) | |
| tree | fa8ff404b5cbc02b926f891fc6e99d462fb01a96 /ApplicationWindow.qml | |
| parent | 765fc04a928bfdc8845b38a52fd04e59a295107d (diff) | |
Update the project & QML files to be Qt6 compatible
https://doc.qt.io/qt-6/qtquickcontrols-changes-qt6.html#changes-to-applicationwindow
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) } } |