summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp')
-rw-r--r--tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp b/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp
index b0b34ee3fa..7a54a6e5e6 100644
--- a/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp
+++ b/tests/auto/widgets/widgets/qcheckbox/tst_qcheckbox.cpp
@@ -208,10 +208,10 @@ void tst_QCheckBox::stateChanged()
QCoreApplication::processEvents();
QCOMPARE(cur_state, 1);
- QCOMPARE(stateChangedSpy.count(), 3);
+ QCOMPARE(stateChangedSpy.size(), 3);
testWidget.setCheckState(Qt::PartiallyChecked);
QCoreApplication::processEvents();
- QCOMPARE(stateChangedSpy.count(), 3);
+ QCOMPARE(stateChangedSpy.size(), 3);
}
void tst_QCheckBox::isToggleButton()