aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-11-01 14:16:09 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-02 08:25:58 +0100
commit685a00d7776de64366a4aa60bf154bea99c9026d (patch)
tree7d80be42c34c0421ea574a7a69b8014eee636a05 /tests/auto
parent62af8d46b2d1b0bb1ef79e5a119bd05e5a83aad6 (diff)
Fix SizeRootObjectToView mode
It is not yet possible to check if the window has been resized (after the refactor branch merge). Instead, resize to rootObject regardless only if the current view has no visible area. Task-number: QTBUG-22019 Change-Id: I158aaa11862529745ad389e1cbadb6a0ad18c742 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/declarative/qquickview/tst_qquickview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/declarative/qquickview/tst_qquickview.cpp b/tests/auto/declarative/qquickview/tst_qquickview.cpp
index a2334d2e58..fb52a5574f 100644
--- a/tests/auto/declarative/qquickview/tst_qquickview.cpp
+++ b/tests/auto/declarative/qquickview/tst_qquickview.cpp
@@ -177,7 +177,6 @@ void tst_QQuickView::resizemodeitem()
QTest::qWait(50);
// initial size from root object
- QEXPECT_FAIL("", "QTBUG-22019", Abort);
QCOMPARE(item->width(), 300.0);
QCOMPARE(item->height(), 300.0);
QCOMPARE(canvas->size(), QSize(300, 300));