diff options
Diffstat (limited to 'tests/auto/controls/data/tst_container.qml')
-rw-r--r-- | tests/auto/controls/data/tst_container.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_container.qml b/tests/auto/controls/data/tst_container.qml index bf6ec283..da77def2 100644 --- a/tests/auto/controls/data/tst_container.qml +++ b/tests/auto/controls/data/tst_container.qml @@ -62,7 +62,7 @@ TestCase { } function test_implicitSize() { - var control = container.createObject(testCase) + var control = createTemporaryObject(container, testCase) verify(control) compare(control.implicitWidth, 0) @@ -79,7 +79,5 @@ TestCase { control.padding = 100 compare(control.implicitWidth, 210) compare(control.implicitHeight, 220) - - control.destroy() } } |