mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
parent
26d3acb9d8
commit
13393ed2d3
@ -368,7 +368,8 @@ void Entry::removeHistoryItems(QList<Entry*> historyEntries)
|
||||
Q_FOREACH (Entry* entry, historyEntries) {
|
||||
Q_ASSERT(!entry->parent());
|
||||
Q_ASSERT(entry->uuid() == uuid());
|
||||
Q_ASSERT(m_history.removeAll(entry) > 0);
|
||||
int numberOfRemovedEntries = m_history.removeAll(entry);
|
||||
Q_ASSERT(numberOfRemovedEntries > 0);
|
||||
delete entry;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user