summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2024-05-13 13:48:35 +0300
committerTomi Korpipaa <tomi.korpipaa@qt.io>2024-05-14 08:16:48 +0300
commita1f1a463d3a4c15ecb91d7692e62c911aded6b36 (patch)
tree3a5ce5e90b97611a795413cbaf5b1ade96c3948a
parent3520a9eea771166005c3d7907df71350f1063edd (diff)
Fix test compilation
Change-Id: I17a3698c30f420d29aecfaa0be71e77bbecb8f7e Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io> Reviewed-by: <owais.akhtar@qt.io> Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
-rw-r--r--tests/auto/cpp2dtest/qgxymodelmapper/tst_xymodelmapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/cpp2dtest/qgxymodelmapper/tst_xymodelmapper.cpp b/tests/auto/cpp2dtest/qgxymodelmapper/tst_xymodelmapper.cpp
index bc2830c..8ae74e3 100644
--- a/tests/auto/cpp2dtest/qgxymodelmapper/tst_xymodelmapper.cpp
+++ b/tests/auto/cpp2dtest/qgxymodelmapper/tst_xymodelmapper.cpp
@@ -319,7 +319,7 @@ void tst_qgxymodelmapper::seriesUpdated()
QCOMPARE(m_vMapper->count(),
-1); // the value should not change as it indicates 'all' items there are in the model
- m_series->removePoints(1, m_modelRowCount - 4);
+ m_series->removeMultiple(1, m_modelRowCount - 4);
QCOMPARE(m_series->count(), 4);
QCOMPARE(m_vMapper->count(),
-1); // the value should not change as it indicates 'all' items there are in the model