Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/keys
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2016-12-02 06:50:19 +0300
committerJanek Bevendorff <janek@jbev.net>2017-01-14 19:31:38 +0300
commit53e0893b51683386c4a9cfdab3784a63c89cc06f (patch)
treee10b066a0a7ca93e1cdcc71555b74f7600fae71d /src/keys
parentd988b9e6d2ae2024f53f926322a3e37c74c64f2f (diff)
spelling: correct
Diffstat (limited to 'src/keys')
-rw-r--r--src/keys/FileKey.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keys/FileKey.cpp b/src/keys/FileKey.cpp
index d399f545f..d3cdfe040 100644
--- a/src/keys/FileKey.cpp
+++ b/src/keys/FileKey.cpp
@@ -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)