aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickview
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@theqtcompany.com>2016-07-19 10:02:48 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2016-07-19 09:24:46 +0000
commit9dc4085e593c90c49eb9964ea99295874c62dc4c (patch)
treefcbe6eea4c82ce092a54403e9618013b9ff65d9b /tests/auto/quick/qquickview
parent7605b92573bb12e130d2df4c6b15e9cdfa36d5ec (diff)
Remove redundant compare in test
The same condition is tested in the line above. Change-Id: I99720e3603b1ae5e2f5161696f1de3dd03f6ff50 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickview')
-rw-r--r--tests/auto/quick/qquickview/tst_qquickview.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickview/tst_qquickview.cpp b/tests/auto/quick/qquickview/tst_qquickview.cpp
index 200f769a65..0f325fddf5 100644
--- a/tests/auto/quick/qquickview/tst_qquickview.cpp
+++ b/tests/auto/quick/qquickview/tst_qquickview.cpp
@@ -151,7 +151,6 @@ void tst_QQuickView::resizemodeitem()
QCOMPARE(item->width(), 80.0);
QCOMPARE(item->height(), 100.0);
QTRY_COMPARE(view->size(), QSize(80, 100));
- QCOMPARE(view->size(), QSize(80, 100));
QCOMPARE(view->size(), view->sizeHint());
// size update from root object disabled