mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-05-02 22:54:59 -04:00
parent
26d3acb9d8
commit
13393ed2d3
1 changed files with 2 additions and 1 deletions
|
@ -368,7 +368,8 @@ void Entry::removeHistoryItems(QList<Entry*> historyEntries)
|
||||||
Q_FOREACH (Entry* entry, historyEntries) {
|
Q_FOREACH (Entry* entry, historyEntries) {
|
||||||
Q_ASSERT(!entry->parent());
|
Q_ASSERT(!entry->parent());
|
||||||
Q_ASSERT(entry->uuid() == uuid());
|
Q_ASSERT(entry->uuid() == uuid());
|
||||||
Q_ASSERT(m_history.removeAll(entry) > 0);
|
int numberOfRemovedEntries = m_history.removeAll(entry);
|
||||||
|
Q_ASSERT(numberOfRemovedEntries > 0);
|
||||||
delete entry;
|
delete entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue