aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/ios/iostoolhandler.cpp
diff options
context:
space:
mode:
authorhjk <[email protected]>2017-02-07 16:59:21 +0100
committerhjk <[email protected]>2017-02-08 11:21:45 +0000
commit56409f5afa9afe9c9a0d0ef3f83005b66164a9a0 (patch)
tree3529f318e7058f8e22acb08a60615b4f7c7eb9a4 /src/plugins/ios/iostoolhandler.cpp
parent95e2d7f54509c9e5ac4a96330ddb9aaaba50db92 (diff)
Replace a few occurrences of QStringList() << ...
... by something shorter. Change-Id: I363b4e509adb07997517b2d233246a333aea4aea Reviewed-by: Christian Stenger <[email protected]>
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-rw-r--r--src/plugins/ios/iostoolhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp
index bded2ce7926..905a3b66f09 100644
--- a/src/plugins/ios/iostoolhandler.cpp
+++ b/src/plugins/ios/iostoolhandler.cpp
@@ -101,7 +101,7 @@ public:
if (!fi.isCanceled())
emit logMessage(QString::fromLocal8Bit(tailProcess->readAll()));
});
- tailProcess->start(QStringLiteral("tail"), QStringList() << "-f" << file->fileName());
+ tailProcess->start(QStringLiteral("tail"), { "-f", file->fileName() });
};
auto processDeleter = [](QProcess *process) {