diff --git a/examples/gallery/content/ChildWindow.qml b/examples/gallery/content/ChildWindow.qml index c4094209ffc14e4d34f02c9d388f0dd481e30469..5473e834ec4094ce209934d6ba5e0d3895986bef 100644 --- a/examples/gallery/content/ChildWindow.qml +++ b/examples/gallery/content/ChildWindow.qml @@ -53,6 +53,7 @@ Window { height: 400 title: "child window" + flags: Qt.Dialog Rectangle { color: syspal.window diff --git a/src/experimental/Dialog.qml b/src/experimental/Dialog.qml index 5dc933db7b102dff2f8be87e4cb848c28946a036..e2f7989e362386c07d5280b535f60e745bb82a24 100644 --- a/src/experimental/Dialog.qml +++ b/src/experimental/Dialog.qml @@ -54,6 +54,7 @@ Window { width: 400 height: 200 + flags: Qt.Dialog signal closed signal accepted