diff options
Diffstat (limited to 'tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml')
-rw-r--r-- | tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml b/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml index 4ca687bdb6..b00cfbc5f8 100644 --- a/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml +++ b/tests/auto/qmltest/shadersource/tst_SourceInOtherWindow.qml @@ -37,6 +37,9 @@ import QtQuick.Window 2.0 import QtTest 1.0 Item { + width: 100 + height: 100 + Rectangle { id: box color: "red" @@ -65,7 +68,7 @@ Item { TestCase { name: "shadersource-from-other-window" - when: childWindow.isRendered + when: childWindow.rendered function test_endresult() { verify(true); // that we got here without problems... } |