diff options
author | Florian Geyer <blueice@fobos.de> | 2012-05-12 15:22:41 +0400 |
---|---|---|
committer | Florian Geyer <blueice@fobos.de> | 2012-05-13 21:21:10 +0400 |
commit | 6b6c109903fa5364ab91afd5ef57a10b87ac8eb9 (patch) | |
tree | 7d1678db5d675994cef93c97e743f35f64ebc56b /tests/TestEntryModel.cpp | |
parent | f836629dda05126605df0e880356e4282fbc2ebb (diff) |
Add search.
Refs #24
Diffstat (limited to 'tests/TestEntryModel.cpp')
-rw-r--r-- | tests/TestEntryModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/TestEntryModel.cpp b/tests/TestEntryModel.cpp index e04b0445d..63a2ada4b 100644 --- a/tests/TestEntryModel.cpp +++ b/tests/TestEntryModel.cpp @@ -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()); |