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 fae7a9fae7
commit fd212978ac

View File

@@ -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) {