mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-15 17:27:43 -05:00
spelling: correct
This commit is contained in:
parent
d988b9e6d2
commit
53e0893b51
@ -190,18 +190,18 @@ bool FileKey::loadXml(QIODevice* device)
|
|||||||
|
|
||||||
bool FileKey::loadXmlMeta(QXmlStreamReader& xmlReader)
|
bool FileKey::loadXmlMeta(QXmlStreamReader& xmlReader)
|
||||||
{
|
{
|
||||||
bool corectVersion = false;
|
bool correctVersion = false;
|
||||||
|
|
||||||
while (!xmlReader.error() && xmlReader.readNextStartElement()) {
|
while (!xmlReader.error() && xmlReader.readNextStartElement()) {
|
||||||
if (xmlReader.name() == "Version") {
|
if (xmlReader.name() == "Version") {
|
||||||
// TODO: error message about incompatible key file version
|
// TODO: error message about incompatible key file version
|
||||||
if (xmlReader.readElementText() == "1.00") {
|
if (xmlReader.readElementText() == "1.00") {
|
||||||
corectVersion = true;
|
correctVersion = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return corectVersion;
|
return correctVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
QByteArray FileKey::loadXmlKey(QXmlStreamReader& xmlReader)
|
QByteArray FileKey::loadXmlKey(QXmlStreamReader& xmlReader)
|
||||||
|
Loading…
Reference in New Issue
Block a user