summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Hindenburg <kurt.hindenburg@gmail.com>2016-09-04 21:27:12 (GMT)
committerKurt Hindenburg <kurt.hindenburg@gmail.com>2016-09-04 21:27:12 (GMT)
commitedcb028d299c4dcf152116e05f4adfb0c35198bd (patch)
tree758d3085505e4c68ac21a90013c6813fe37b4933
parent54ecd560b8d76121256a0bd653999fb8d4acb363 (diff)
const & foreach loop
-rw-r--r--src/ProcessInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProcessInfo.cpp b/src/ProcessInfo.cpp
index 96750b9..2a4bf7a 100644
--- a/src/ProcessInfo.cpp
+++ b/src/ProcessInfo.cpp
@@ -664,7 +664,7 @@ private:
// len holds the length of the string
QString qargs = QString::fromLocal8Bit(args,len);
- foreach (QString value, qargs.split('\u0000'))
+ foreach (const QString& value, qargs.split('\u0000'))
{
if (!value.isEmpty())
{