diff options
-rw-r--r-- | tests/auto/quick/qquickwindow/data/unloadSubWindow.qml | 6 |
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: { |