diff options
author | Tim Jenssen <[email protected]> | 2017-02-22 15:09:35 +0100 |
---|---|---|
committer | Tim Jenssen <[email protected]> | 2017-02-22 16:25:09 +0000 |
commit | 2631ffabd5a7955a40b9779b0d52af64e3bd3a60 (patch) | |
tree | a030ea11d0d561b720d0e0d352b4a0fc728a6758 /src/plugins/ios/iostoolhandler.cpp | |
parent | 005ca71cac65b7c766d814b97b830e2af1c7aa53 (diff) |
Remove spaces in initializer lists
Format initializer lists code style like.
Change-Id: Ib82c235e4ba7dc75ee96a7abc0c47eff7b0a9013
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/ios/iostoolhandler.cpp')
-rw-r--r-- | src/plugins/ios/iostoolhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/ios/iostoolhandler.cpp b/src/plugins/ios/iostoolhandler.cpp index 905a3b66f09..5330d5ce673 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"), { "-f", file->fileName() }); + tailProcess->start(QStringLiteral("tail"), {"-f", file->fileName()}); }; auto processDeleter = [](QProcess *process) { @@ -479,7 +479,7 @@ void IosDeviceToolHandlerPrivate::processXml() stack.append(ParserState(ParserState::AppOutput)); } else if (elName == QLatin1String("control_char")) { QXmlStreamAttributes attributes = outputParser.attributes(); - QChar c[1] = { QChar::fromLatin1(static_cast<char>(attributes.value(QLatin1String("code")).toString().toInt())) }; + QChar c[1] = {QChar::fromLatin1(static_cast<char>(attributes.value(QLatin1String("code")).toString().toInt()))}; if (stack.size() > 0 && stack.last().collectChars()) stack.last().chars.append(c[0]); stack.append(ParserState(ParserState::ControlChar)); |