summaryrefslogtreecommitdiff
path: root/tests/auto/controls
diff options
context:
space:
mode:
authorFabian Bumberger <fbumberger@rim.com>2014-01-07 15:38:22 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-07 17:00:20 +0100
commitc76129020bc229c6dfeadbf1db7aae13b5cb84d8 (patch)
tree448b2799e58c07a2277bd9787cc93716924b1f03 /tests/auto/controls
parentbf76ab58e60421a69f1e5b995de3f9bee89788fd (diff)
downloadqtquickcontrols-c76129020bc229c6dfeadbf1db7aae13b5cb84d8.tar.gz
Fix TableView auto test
This is related to a patch in QtQuick. UpdatePolish will not be called for invisible items any more. Change-Id: If9569fb6272f8f492e4676092be01d6681e696be Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'tests/auto/controls')
-rw-r--r--tests/auto/controls/data/tst_tableview.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_tableview.qml b/tests/auto/controls/data/tst_tableview.qml
index 192e29b5..55da1918 100644
--- a/tests/auto/controls/data/tst_tableview.qml
+++ b/tests/auto/controls/data/tst_tableview.qml
@@ -43,7 +43,7 @@ import QtTest 1.0
import QtQuick.Controls 1.1
import QtQuickControlsTests 1.0
-Item {
+Rectangle {
id: container
width: 400
height: 400
@@ -783,7 +783,7 @@ TestCase {
headerVisible: false; \
}'
- var table = Qt.createQmlObject(test_instanceStr, testCase, '')
+ var table = Qt.createQmlObject(test_instanceStr, container, '')
waitForRendering(table)
var beginPos = table.mapFromItem(table.viewport, 0, 0)