mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Indentation and variable naming fixes.
This commit is contained in:
parent
6a2034fa24
commit
26de957a98
@ -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;
|
||||
|
@ -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()
|
||||
|
@ -26,7 +26,7 @@ public:
|
||||
|
||||
private:
|
||||
Crypto();
|
||||
static bool m_initiated;
|
||||
static bool m_initalized;
|
||||
};
|
||||
|
||||
#endif // KEEPASSX_CRYPTO_H
|
||||
|
Loading…
Reference in New Issue
Block a user