aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/languageclient/languageclientinterface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/languageclient/languageclientinterface.cpp')
-rw-r--r--src/plugins/languageclient/languageclientinterface.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/languageclient/languageclientinterface.cpp b/src/plugins/languageclient/languageclientinterface.cpp
index 541d1c3ab05..d42e74c9b36 100644
--- a/src/plugins/languageclient/languageclientinterface.cpp
+++ b/src/plugins/languageclient/languageclientinterface.cpp
@@ -71,7 +71,7 @@ void BaseClientInterface::parseCurrentMessage()
if (m_currentMessage.mimeType == JsonRpcMessage::jsonRpcMimeType()) {
emit messageReceived(JsonRpcMessage(m_currentMessage));
} else {
- emit error(Tr::tr("Cannot handle MIME type of message %1")
+ emit error(Tr::tr("Cannot handle MIME type \"%1\" of message.")
.arg(QString::fromUtf8(m_currentMessage.mimeType)));
}
m_currentMessage = BaseMessage();
@@ -95,14 +95,14 @@ void StdIOClientInterface::startImpl()
QTC_CHECK(!m_process->isRunning());
delete m_process;
}
- m_process = new QtcProcess;
+ m_process = new Process;
m_process->setProcessMode(ProcessMode::Writer);
- connect(m_process, &QtcProcess::readyReadStandardError,
+ connect(m_process, &Process::readyReadStandardError,
this, &StdIOClientInterface::readError);
- connect(m_process, &QtcProcess::readyReadStandardOutput,
+ connect(m_process, &Process::readyReadStandardOutput,
this, &StdIOClientInterface::readOutput);
- connect(m_process, &QtcProcess::started, this, &StdIOClientInterface::started);
- connect(m_process, &QtcProcess::done, this, [this] {
+ connect(m_process, &Process::started, this, &StdIOClientInterface::started);
+ connect(m_process, &Process::done, this, [this] {
m_logFile.flush();
if (m_process->result() != ProcessResult::FinishedWithSuccess)
emit error(QString("%1 (see logs in \"%2\")")