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) ...@@ -165,8 +165,8 @@ void MaemoSshRunner::handleRemoteOutput(const QByteArray &curOutput)
charsToEmitCount = -1; charsToEmitCount = -1;
} }
} else { } else {
firstCharToEmit = 0; firstCharToEmit = m_potentialEndMarkerPrefix.count();
charsToEmitCount = endMarkerPos; charsToEmitCount = endMarkerPos - firstCharToEmit;
} }
} else { } else {
if (m_endMarkerCount == 0) { 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