diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp index f2267d83f5ca7c42e5577e9ca0618433fb6c5a75..a31c06dec4e41764279af49097a7c42ab6c4f457 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp +++ b/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp @@ -102,8 +102,8 @@ MaemoSshRunner::MaemoSshRunner(const Core::SshServerInfo &server, bool MaemoSshRunner::runInternal() { createConnection(); - connect(m_connection.data(), SIGNAL(remoteOutput(QByteArray)), - this, SLOT(handleRemoteOutput(QByteArray))); + connect(m_connection.data(), SIGNAL(remoteOutputAvailable()), + this, SLOT(handleRemoteOutput())); initState(); if (!m_connection->start()) return false; @@ -121,7 +121,7 @@ void MaemoSshRunner::initState() m_potentialEndMarkerPrefix.clear(); } -void MaemoSshRunner::handleRemoteOutput(const QByteArray &curOutput) +void MaemoSshRunner::handleRemoteOutput() { const QByteArray output = m_potentialEndMarkerPrefix + m_connection->waitForRemoteOutput(0); diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h b/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h index 788bc0582118b01fb3ea3181a987f300f7e0aa25..79107d0f60287ebf13c6a5d170033124db630332 100644 --- a/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h +++ b/src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h @@ -96,7 +96,7 @@ signals: private: virtual bool runInternal(); - Q_SLOT void handleRemoteOutput(const QByteArray &output); + Q_SLOT void handleRemoteOutput(); void initState(); static const QByteArray EndMarker;