aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfigtest.cpp
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2021-02-01 11:06:47 +0200
committerAhmad Samir <a.samirh78@gmail.com>2021-02-06 16:28:57 +0200
commit2ac45198cf101f094cf8d94f3a546a57624e59f5 (patch)
treed833a07af98f3897945706e84c50c0c92d7f5f66 /autotests/kconfigtest.cpp
parent081f559031fed7cde755e006b226cf06f33bd0f8 (diff)
downloadkconfig-2ac45198cf101f094cf8d94f3a546a57624e59f5.tar.gz
kconfig-2ac45198cf101f094cf8d94f3a546a57624e59f5.tar.bz2
Preincerment/predecrement operator where the post ones aren't needed
NO_CHANGELOG
Diffstat (limited to 'autotests/kconfigtest.cpp')
-rw-r--r--autotests/kconfigtest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/kconfigtest.cpp b/autotests/kconfigtest.cpp
index 23bcf195..e6d905b0 100644
--- a/autotests/kconfigtest.cpp
+++ b/autotests/kconfigtest.cpp
@@ -858,7 +858,7 @@ void KConfigTest::testDelete()
const QList<QByteArray> listLines = readLines();
for (const QByteArray &item : listLines)
if (item.startsWith("devices|")) { // krazy:exclude=strings
- count++;
+ ++count;
}
QCOMPARE(count, 2);
cg.deleteEntry("devices|manual|/mnt/ipod");