summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/offscreen/tst_offscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/offscreen/tst_offscreen.cpp')
-rw-r--r--tests/auto/widgets/offscreen/tst_offscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/widgets/offscreen/tst_offscreen.cpp b/tests/auto/widgets/offscreen/tst_offscreen.cpp
index 9553a0394..553dc653b 100644
--- a/tests/auto/widgets/offscreen/tst_offscreen.cpp
+++ b/tests/auto/widgets/offscreen/tst_offscreen.cpp
@@ -26,7 +26,7 @@ void tst_OffScreen::offscreen()
page.load(QUrl("qrc:/test.html"));
view.show();
QTRY_COMPARE(view.isVisible(), true);
- QTRY_COMPARE_WITH_TIMEOUT(loadFinishedSpy.count() > 0, true, 20000);
+ QTRY_COMPARE_WITH_TIMEOUT(loadFinishedSpy.size() > 0, true, 20000);
QCOMPARE(loadFinishedSpy.takeFirst().at(0).toBool(), true);
}