summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/gallery/content/ChildWindow.qml1
-rw-r--r--src/experimental/Dialog.qml1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/gallery/content/ChildWindow.qml b/examples/gallery/content/ChildWindow.qml
index c4094209f..5473e834e 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 5dc933db7..e2f7989e3 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