diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2016-12-21 11:28:21 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2016-12-21 10:36:21 +0000 |
commit | 027613c1fa2d82511b40aeefdab8d28bf9730278 (patch) | |
tree | a4b915b21548c89a4745f56307d441f6fed98020 /tests | |
parent | 60751b6ff444c1a433d825f2c62287c1e6d20461 (diff) |
tst_page: add missing use of createTemporaryObject()
I missed it in fa766648b234c65b9025ad62f3a29eb83d89ae8f.
Change-Id: If3ba0700c1547fbc7af3671b5eeb364055880175
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/controls/data/tst_page.qml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/controls/data/tst_page.qml b/tests/auto/controls/data/tst_page.qml index e49fba6b..07b298f6 100644 --- a/tests/auto/controls/data/tst_page.qml +++ b/tests/auto/controls/data/tst_page.qml @@ -95,14 +95,12 @@ TestCase { } function test_defaults() { - var control = page.createObject(testCase) + var control = createTemporaryObject(page, testCase) verify(control) verify(control.contentItem) compare(control.header, null) compare(control.footer, null) - - control.destroy() } function test_empty() { |