QVERIFY(itemSet.isValid());
QVERIFY(itemSet.count() == itemsQVector.count());
- if (itemSet.count() == 0) {
+ if (itemSet.isEmpty()) {
QVERIFY(itemSet.isEmpty());
QVERIFY(itemSet.begin() == itemSet.end());
QVERIFY(itemSet.constBegin() == itemSet.constEnd());
int min;
int max;
- if (itemSet.count() == 0) {
+ if (itemSet.isEmpty()) {
// Use some arbitrary values for the upcoming tests.
min = 0;
max = 5;
int min;
int max;
- if (itemSet.count() == 0) {
+ if (itemSet.isEmpty()) {
// Use some arbitrary values for the upcoming tests.
min = 0;
max = 5;