summaryrefslogtreecommitdiff
path: root/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp')
-rw-r--r--tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp b/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp
index 57800053d..aec1e9315 100644
--- a/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp
+++ b/tests/auto/extras/qtext2dentity/tst_qtext2dentity.cpp
@@ -42,7 +42,7 @@ void tst_qtext2dentity::checkChangeArbiter()
auto rootEntity = view.engine()->aspectEngine()->rootEntity();
QVERIFY(rootEntity != nullptr);
auto atlases = lookupNodeByClassName(rootEntity.data(), "Qt3DExtras::QTextureAtlas");
- QVERIFY(atlases.length() == 1);
+ QVERIFY(atlases.size() == 1);
auto atlas = atlases[0];
QTRY_VERIFY(Qt3DCore::QNodePrivate::get(atlas)->m_changeArbiter);
}