Set name of the root group when importing KeePass 1 databases.

This commit is contained in:
Felix Geyer 2012-07-21 22:21:19 +02:00
parent 20e4643560
commit 9a2aba56fc

View File

@ -199,6 +199,8 @@ Database* KeePass1Reader::readDatabase(QIODevice* device, const QString& passwor
} }
} }
db->rootGroup()->setName(tr("Root"));
Q_ASSERT(m_tmpParent->children().isEmpty()); Q_ASSERT(m_tmpParent->children().isEmpty());
Q_FOREACH (Entry* entry, m_tmpParent->entries()) { Q_FOREACH (Entry* entry, m_tmpParent->entries()) {