Commit 53e83185 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

avoid to pollute terminal with failure output

we properly report this now in the "Output" pane
no need to have this on the terminal, too
parent 9252505f
......@@ -1247,10 +1247,8 @@ public:
m_sproc.setProcessChannelMode(QProcess::ForwardedErrorChannel);
m_sproc.setReadChannel(QProcess::QProcess::StandardOutput);
m_sproc.start(program, args);
bool result = m_sproc.waitForStarted();
if (!result) {
qCWarning(LSPCLIENT) << m_sproc.error();
} else {
const bool result = m_sproc.waitForStarted();
if (result) {
setState(State::Started);
// perform initial handshake
initialize();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment