diff options
author | Caroline Chao <caroline.chao@digia.com> | 2013-06-21 10:08:38 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-02 11:20:18 +0200 |
commit | 8f8deec53e32119a80b2ff5e8cad83cfd7e5776c (patch) | |
tree | 2266c69145974aad5303a7caad68e09817672c1f /tests/auto/controls/data/tst_toolbar.qml | |
parent | c79ed398e6d70717243feccb78e362ed1ee819eb (diff) | |
download | qtquickcontrols-8f8deec53e32119a80b2ff5e8cad83cfd7e5776c.tar.gz |
Tests: Fix warnings in tests
Ignore warning messages when they are expected.
Fix real warnings.
Also add missing tst_layout.qml to the test pro file.
Change-Id: I2a3835d386570aeb993f275793b3e5e69cc41599
Reviewed-by: Liang Qi <liang.qi@digia.com>
Diffstat (limited to 'tests/auto/controls/data/tst_toolbar.qml')
-rw-r--r-- | tests/auto/controls/data/tst_toolbar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/controls/data/tst_toolbar.qml b/tests/auto/controls/data/tst_toolbar.qml index 97106ff4..fe2c9bd2 100644 --- a/tests/auto/controls/data/tst_toolbar.qml +++ b/tests/auto/controls/data/tst_toolbar.qml @@ -55,7 +55,7 @@ TestCase { height:400 function test_createToolBar() { - var toolBar = Qt.createQmlObject('import QtQuick.Controls 1.0; ToolBar {}', testCase, ''); + var toolBar = Qt.createQmlObject('import QtQuick.Controls 1.0; ToolBar {}', container, ''); toolBar.destroy() } |