diff --git a/src/core/Group.cpp b/src/core/Group.cpp index 1329ae285..7a2851a37 100644 --- a/src/core/Group.cpp +++ b/src/core/Group.cpp @@ -152,7 +152,7 @@ Group::TriState Group::autoTypeEnabled() const return m_autoTypeEnabled; } -Group::TriState Group::searchingEnabed() const +Group::TriState Group::searchingEnabled() const { return m_searchingEnabled; } diff --git a/src/core/Group.h b/src/core/Group.h index 122f0c1fa..ebd77aa9e 100644 --- a/src/core/Group.h +++ b/src/core/Group.h @@ -48,7 +48,7 @@ public: bool isExpanded() const; QString defaultAutoTypeSequence() const; Group::TriState autoTypeEnabled() const; - Group::TriState searchingEnabed() const; + Group::TriState searchingEnabled() const; Entry* lastTopVisibleEntry() const; void setUuid(const Uuid& uuid); diff --git a/src/format/KeePass2XmlWriter.cpp b/src/format/KeePass2XmlWriter.cpp index 0662098f3..064db8723 100644 --- a/src/format/KeePass2XmlWriter.cpp +++ b/src/format/KeePass2XmlWriter.cpp @@ -245,7 +245,7 @@ void KeePass2XmlWriter::writeGroup(const Group* group) writeTriState("EnableAutoType", group->autoTypeEnabled()); - writeTriState("EnableSearching", group->searchingEnabed()); + writeTriState("EnableSearching", group->searchingEnabled()); writeUuid("LastTopVisibleEntry", group->lastTopVisibleEntry()); diff --git a/tests/TestKeePass2XmlReader.cpp b/tests/TestKeePass2XmlReader.cpp index 586d8db4c..e4083c3a3 100644 --- a/tests/TestKeePass2XmlReader.cpp +++ b/tests/TestKeePass2XmlReader.cpp @@ -154,7 +154,7 @@ void TestKeePass2XmlReader::testGroupRoot() QCOMPARE(ti.locationChanged(), genDT(2010, 8, 8, 17, 24, 27)); QCOMPARE(group->defaultAutoTypeSequence(), QString("")); QCOMPARE(group->autoTypeEnabled(), Group::Inherit); - QCOMPARE(group->searchingEnabed(), Group::Inherit); + QCOMPARE(group->searchingEnabled(), Group::Inherit); QCOMPARE(group->lastTopVisibleEntry()->uuid().toBase64(), QString("+wSUOv6qf0OzW8/ZHAs2sA==")); QCOMPARE(group->children().size(), 3); @@ -175,7 +175,7 @@ void TestKeePass2XmlReader::testGroup1() QCOMPARE(group->isExpanded(), true); QCOMPARE(group->defaultAutoTypeSequence(), QString("{Password}{ENTER}")); QCOMPARE(group->autoTypeEnabled(), Group::Enable); - QCOMPARE(group->searchingEnabed(), Group::Disable); + QCOMPARE(group->searchingEnabled(), Group::Disable); QVERIFY(!group->lastTopVisibleEntry()); }