Indentation and variable naming fixes.

This commit is contained in:
Felix Geyer 2010-09-13 23:16:28 +02:00
parent 6a2034fa24
commit 26de957a98
3 changed files with 7 additions and 7 deletions

View File

@ -91,9 +91,9 @@ Group* Database::recFindGroup(const Uuid& uuid, Group* group)
return group;
Q_FOREACH (Group* child, group->children()) {
Group* result = recFindGroup(uuid, child);
if (result)
return result;
Group* result = recFindGroup(uuid, child);
if (result)
return result;
}
return 0;

View File

@ -21,7 +21,7 @@
#include <gcrypt.h>
bool Crypto::m_initiated(false);
bool Crypto::m_initalized(false);
int gcry_qt_mutex_init(void** p_sys)
{
@ -63,7 +63,7 @@ Crypto::Crypto()
void Crypto::init()
{
if (m_initiated) {
if (m_initalized) {
return;
}
@ -71,7 +71,7 @@ void Crypto::init()
gcry_check_version(0);
gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);
m_initiated = true;
m_initalized = true;
}
bool Crypto::selfTest()

View File

@ -26,7 +26,7 @@ public:
private:
Crypto();
static bool m_initiated;
static bool m_initalized;
};
#endif // KEEPASSX_CRYPTO_H