diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2018-10-12 16:03:22 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2018-10-12 16:03:22 +0200 |
commit | 69512ff6f286371d2846b84a809bbfbc9a7e7289 (patch) | |
tree | 91f6c2db783c1731ba8232eeb3a27c3a7f885d3a /src/filecontent.cpp | |
parent | 6315d1e9371864f0ed6b3854a4b50561b062befe (diff) |
Some cleanup with help of Clang-Tidy and Clazy (part 2 of x)
Diffstat (limited to 'src/filecontent.cpp')
-rw-r--r-- | src/filecontent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filecontent.cpp b/src/filecontent.cpp index 0e22a377..d77983c2 100644 --- a/src/filecontent.cpp +++ b/src/filecontent.cpp @@ -7,7 +7,7 @@ FileContent FileContent::parse(const QString &fileContent, QString password = lines.takeFirst(); QStringList remainingData; NamedValues namedValues; - for (QString line : lines) { + for (const QString &line : lines) { if (line.contains(":")) { int colon = line.indexOf(':'); QString name = line.left(colon); |