Turn EntryAttributesModel into a QAbstractListModel.

This commit is contained in:
Felix Geyer 2012-04-28 16:50:17 +02:00
parent 6140a688d7
commit 7f67019f63
3 changed files with 15 additions and 30 deletions

View file

@ -161,7 +161,6 @@ void TestEntryModel::testAttributesModel()
entryAttributes->set("2nd", "789");
QCOMPARE(model->data(model->index(0, 0)).toString(), QString("2nd"));
QCOMPARE(model->data(model->index(0, 1)).toString(), QString("789"));
entryAttributes->remove("first");