Coding style fixes.

This commit is contained in:
Felix Geyer 2012-04-23 17:02:09 +02:00
parent bddc29101c
commit f28f868671
3 changed files with 2 additions and 3 deletions

View File

@ -110,6 +110,7 @@ private:
void recSetDatabase(Database* db); void recSetDatabase(Database* db);
void cleanupParent(); void cleanupParent();
void recCreateDelObjects(); void recCreateDelObjects();
void updateTimeinfo();
QPointer<Database> m_db; QPointer<Database> m_db;
Uuid m_uuid; Uuid m_uuid;
@ -134,8 +135,6 @@ private:
friend void Database::setRootGroup(Group* group); friend void Database::setRootGroup(Group* group);
friend Entry::~Entry(); friend Entry::~Entry();
friend void Entry::setGroup(Group *group); friend void Entry::setGroup(Group *group);
void updateTimeinfo();
}; };
#endif // KEEPASSX_GROUP_H #endif // KEEPASSX_GROUP_H

View File

@ -87,6 +87,7 @@ void KeePass2XmlReader::readDatabase(QIODevice* device, Database* db, KeePass2Ra
} }
m_meta->setUpdateDatetime(true); m_meta->setUpdateDatetime(true);
QHash<Uuid, Group*>::const_iterator iGroup; QHash<Uuid, Group*>::const_iterator iGroup;
for (iGroup = m_groups.constBegin(); iGroup != m_groups.constEnd(); ++iGroup) { for (iGroup = m_groups.constBegin(); iGroup != m_groups.constEnd(); ++iGroup) {
iGroup.value()->setUpdateTimeinfo(true); iGroup.value()->setUpdateTimeinfo(true);

View File

@ -26,7 +26,6 @@ SymmetricCipherStream::SymmetricCipherStream(QIODevice* baseDevice, SymmetricCip
, m_bufferFilling(false) , m_bufferFilling(false)
, m_error(false) , m_error(false)
{ {
} }
SymmetricCipherStream::~SymmetricCipherStream() SymmetricCipherStream::~SymmetricCipherStream()