mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 05:24:13 -04:00
Turn EntryAttributesModel into a QAbstractListModel.
This commit is contained in:
parent
6140a688d7
commit
7f67019f63
3 changed files with 15 additions and 30 deletions
|
@ -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");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue