mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-27 18:10:31 -05:00
Properly initialize various attributes.
This commit is contained in:
parent
c548c7f4b4
commit
5cb906c235
5 changed files with 26 additions and 0 deletions
|
|
@ -28,6 +28,14 @@ Metadata::Metadata(Database* parent)
|
|||
m_entryTemplatesGroup = 0;
|
||||
m_lastSelectedGroup = 0;
|
||||
m_lastTopVisibleGroup = 0;
|
||||
|
||||
QDateTime now = QDateTime::currentDateTime();
|
||||
m_nameChanged = now;
|
||||
m_descriptionChanged = now;
|
||||
m_defaultUserNameChanged = now;
|
||||
m_recycleBinChanged = now;
|
||||
m_entryTemplatesGroupChanged = now;
|
||||
m_masterKeyChanged = now;
|
||||
}
|
||||
|
||||
QString Metadata::generator() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue