mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-04-05 21:47:38 +03:00
Add some more asserts to make sure we only store UTC QDateTimes.
This commit is contained in:
parent
fb5a5041d5
commit
5ef3cdb428
2 changed files with 7 additions and 0 deletions
|
@ -129,6 +129,7 @@ QList<DeletedObject> Database::deletedObjects()
|
|||
|
||||
void Database::addDeletedObject(const DeletedObject& delObj)
|
||||
{
|
||||
Q_ASSERT(delObj.deletionTime.timeSpec() == Qt::UTC);
|
||||
m_deletedObjects.append(delObj);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue