aboutsummaryrefslogtreecommitdiffstats
path: root/examples/window/window/standalone.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/window/window/standalone.qml')
-rw-r--r--examples/window/window/standalone.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/window/window/standalone.qml b/examples/window/window/standalone.qml
index a06db633a7..a7a7ed2d7a 100644
--- a/examples/window/window/standalone.qml
+++ b/examples/window/window/standalone.qml
@@ -49,7 +49,8 @@ Item {
Text {
id: text1
anchors.centerIn: parent
- text: "First Window"
+ text: "First Window\n" + (Qt.application.supportsMultipleWindows ?
+ "click the button to open a second window" : "only one window is allowed")
}
Rectangle {
border.color: "black"
@@ -73,6 +74,7 @@ Item {
anchors.margins: 10
width: text.implicitWidth + 20
height: text.implicitHeight + 20
+ visible: Qt.application.supportsMultipleWindows
Text {
id: text
text: "Pop up window"