Commit fd212978 authored by ck's avatar ck
Browse files

Maemo: Fix trailing garbage output at end of remote process.

Task-number: QTCREATORBUG-1461 (part 2)
Written-by: Denis Mingulov
parent fae7a9fa
......@@ -165,8 +165,8 @@ void MaemoSshRunner::handleRemoteOutput(const QByteArray &curOutput)
charsToEmitCount = -1;
}
} else {
firstCharToEmit = 0;
charsToEmitCount = endMarkerPos;
firstCharToEmit = m_potentialEndMarkerPrefix.count();
charsToEmitCount = endMarkerPos - firstCharToEmit;
}
} else {
if (m_endMarkerCount == 0) {
......
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