@@ -62,8 +62,8 @@ void TestEntryModel::test()
|
||||
entry1->setTitle("changed");
|
||||
QCOMPARE(spyDataChanged.count(), 1);
|
||||
|
||||
QModelIndex index1 = model->index(0, 0);
|
||||
QModelIndex index2 = model->index(1, 0);
|
||||
QModelIndex index1 = model->index(0, 1);
|
||||
QModelIndex index2 = model->index(1, 1);
|
||||
|
||||
QCOMPARE(model->data(index1).toString(), entry1->title());
|
||||
QCOMPARE(model->data(index2).toString(), entry2->title());
|
||||
|
||||
Reference in New Issue
Block a user