mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 00:09:53 -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 corectVersion = false;
|
||||
bool correctVersion = false;
|
||||
|
||||
while (!xmlReader.error() && xmlReader.readNextStartElement()) {
|
||||
if (xmlReader.name() == "Version") {
|
||||
// TODO: error message about incompatible key file version
|
||||
if (xmlReader.readElementText() == "1.00") {
|
||||
corectVersion = true;
|
||||
correctVersion = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return corectVersion;
|
||||
return correctVersion;
|
||||
}
|
||||
|
||||
QByteArray FileKey::loadXmlKey(QXmlStreamReader& xmlReader)
|
||||
|
Loading…
Reference in New Issue
Block a user