From 0f92d27e2a375747133d41d55332beb149b06634 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Tue, 23 Oct 2018 12:56:09 +0200 Subject: [PATCH] LSP: Use multi-arg version of arg() ...and remove pointless white space. Change-Id: I2b737058ad6c598b8d8034a7a05c29a6d629dbac Reviewed-by: David Schulz Reviewed-by: Leena Miettinen --- src/plugins/languageclient/baseclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/languageclient/baseclient.cpp b/src/plugins/languageclient/baseclient.cpp index 7239a7f5fa0..1b8c3cf70be 100644 --- a/src/plugins/languageclient/baseclient.cpp +++ b/src/plugins/languageclient/baseclient.cpp @@ -813,7 +813,7 @@ void StdIOClient::sendData(const QByteArray &data) void StdIOClient::onProcessFinished(int exitCode, QProcess::ExitStatus exitStatus) { if (exitStatus == QProcess::CrashExit) - setError(tr("Crashed with exit code %1 : %2").arg(exitCode).arg(m_process.error())); + setError(tr("Crashed with exit code %1: %2").arg(exitCode, m_process.error())); emit finished(); }