summaryrefslogtreecommitdiff
path: root/tools/runonphone/serenum_unix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/runonphone/serenum_unix.cpp')
-rw-r--r--tools/runonphone/serenum_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/runonphone/serenum_unix.cpp b/tools/runonphone/serenum_unix.cpp
index ca6c4371a8..c8ec02103b 100644
--- a/tools/runonphone/serenum_unix.cpp
+++ b/tools/runonphone/serenum_unix.cpp
@@ -51,7 +51,7 @@ QList<SerialPortId> enumerateSerialPorts()
QList<SerialPortId> list;
QDir dir("/dev/serial/by-id/");
QFileInfoList ports(dir.entryInfoList());
- foreach(QFileInfo info, ports) {
+ foreach (const QFileInfo &info, ports) {
if (!info.isDir()) {
SerialPortId id;
id.friendlyName = info.fileName();