aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick')
-rw-r--r--tests/auto/quick/qquickwindow/data/unloadSubWindow.qml6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickwindow/data/unloadSubWindow.qml b/tests/auto/quick/qquickwindow/data/unloadSubWindow.qml
index bf9df4867d..8c409781d4 100644
--- a/tests/auto/quick/qquickwindow/data/unloadSubWindow.qml
+++ b/tests/auto/quick/qquickwindow/data/unloadSubWindow.qml
@@ -10,8 +10,10 @@ Window {
id: loader2
sourceComponent : Window {
id: inner
- visible: true
- Component.onCompleted: root.transientWindow = inner
+ Component.onCompleted: {
+ root.transientWindow = inner;
+ inner.show();
+ }
}
}
Component.onDestruction: {