mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-04 23:55:08 -04:00
Avoid dereferencing QLists.
This commit is contained in:
parent
14aac09318
commit
bcb54bc38a
6 changed files with 9 additions and 9 deletions
|
@ -315,7 +315,7 @@ void TestKeePass2XmlReader::testEntry2()
|
|||
|
||||
void TestKeePass2XmlReader::testEntryHistory()
|
||||
{
|
||||
const Entry* entryMain = m_db->rootGroup()->entries().first();
|
||||
const Entry* entryMain = m_db->rootGroup()->entries().at(0);
|
||||
QCOMPARE(entryMain->historyItems().size(), 2);
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue