diff options
author | hjk <hjk@qt.io> | 2017-02-07 16:59:21 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2017-02-08 11:21:45 +0000 |
commit | 56409f5afa9afe9c9a0d0ef3f83005b66164a9a0 (patch) | |
tree | 3529f318e7058f8e22acb08a60615b4f7c7eb9a4 /src/plugins/debugger/debuggeritemmanager.cpp | |
parent | 95e2d7f54509c9e5ac4a96330ddb9aaaba50db92 (diff) | |
download | qt-creator-56409f5afa9afe9c9a0d0ef3f83005b66164a9a0.tar.gz |
Replace a few occurrences of QStringList() << ...
... by something shorter.
Change-Id: I363b4e509adb07997517b2d233246a333aea4aea
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/debuggeritemmanager.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeritemmanager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggeritemmanager.cpp b/src/plugins/debugger/debuggeritemmanager.cpp index b0814f7cb8..9d0e3969d1 100644 --- a/src/plugins/debugger/debuggeritemmanager.cpp +++ b/src/plugins/debugger/debuggeritemmanager.cpp @@ -731,8 +731,7 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers() SynchronousProcess lldbInfo; lldbInfo.setTimeoutS(2); SynchronousProcessResponse response - = lldbInfo.runBlocking(QLatin1String("xcrun"), QStringList() << QLatin1String("--find") - << QLatin1String("lldb")); + = lldbInfo.runBlocking(QLatin1String("xcrun"), { "--find", "lldb" }); if (response.result == Utils::SynchronousProcessResponse::Finished) { QString lPath = response.allOutput().trimmed(); if (!lPath.isEmpty()) { |