summaryrefslogtreecommitdiffstats
path: root/src/filecontent.cpp
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2018-10-12 16:03:22 +0200
committerAnne Jan Brouwer <brouwer@annejan.com>2018-10-12 16:03:22 +0200
commit69512ff6f286371d2846b84a809bbfbc9a7e7289 (patch)
tree91f6c2db783c1731ba8232eeb3a27c3a7f885d3a /src/filecontent.cpp
parent6315d1e9371864f0ed6b3854a4b50561b062befe (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.cpp2
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);