forked from qt-creator/qt-creator
Merge remote branch 'origin/2.0'
Conflicts: src/plugins/projectexplorer/miniprojecttargetselector.cpp src/plugins/qmldesigner/designercore/model/modeltotextmerger.cpp src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h tests/manual/gdbdebugger/simple/app.cpp
This commit is contained in:
@@ -102,8 +102,8 @@ MaemoSshRunner::MaemoSshRunner(const Core::SshServerInfo &server,
|
||||
bool MaemoSshRunner::runInternal()
|
||||
{
|
||||
createConnection();
|
||||
connect(m_connection.data(), SIGNAL(remoteOutputAvailable()),
|
||||
this, SLOT(handleRemoteOutput()));
|
||||
connect(m_connection.data(), SIGNAL(remoteOutput(QByteArray)),
|
||||
this, SLOT(handleRemoteOutput(QByteArray)));
|
||||
initState();
|
||||
if (!m_connection->start())
|
||||
return false;
|
||||
@@ -121,7 +121,7 @@ void MaemoSshRunner::initState()
|
||||
m_potentialEndMarkerPrefix.clear();
|
||||
}
|
||||
|
||||
void MaemoSshRunner::handleRemoteOutput()
|
||||
void MaemoSshRunner::handleRemoteOutput(const QByteArray &curOutput)
|
||||
{
|
||||
const QByteArray output
|
||||
= m_potentialEndMarkerPrefix + m_connection->waitForRemoteOutput(0);
|
||||
|
||||
@@ -96,7 +96,7 @@ signals:
|
||||
|
||||
private:
|
||||
virtual bool runInternal();
|
||||
Q_SLOT void handleRemoteOutput();
|
||||
Q_SLOT void handleRemoteOutput(const QByteArray &output);
|
||||
void initState();
|
||||
|
||||
static const QByteArray EndMarker;
|
||||
|
||||
Reference in New Issue
Block a user