Fix typo.

This commit is contained in:
Felix Geyer 2012-05-13 13:33:55 +02:00
parent 23792eb069
commit af726d465d
4 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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);

View File

@ -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());

View File

@ -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());
}