Properly initialize various attributes.

This commit is contained in:
Felix Geyer 2011-06-29 16:47:05 +02:00
parent c548c7f4b4
commit 5cb906c235
5 changed files with 26 additions and 0 deletions

View file

@ -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