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

Task-number: QTCREATORBUG-1461 (part 2)
Written-by: Denis Mingulov
This commit is contained in:
ck
2010-05-25 16:08:52 +02:00
parent 10ac946825
commit 5a6de0ad5e

View File

@@ -166,8 +166,8 @@ void MaemoSshRunner::handleRemoteOutput()
charsToEmitCount = -1;
}
} else {
firstCharToEmit = 0;
charsToEmitCount = endMarkerPos;
firstCharToEmit = m_potentialEndMarkerPrefix.count();
charsToEmitCount = endMarkerPos - firstCharToEmit;
}
} else {
if (m_endMarkerCount == 0) {