forked from qt-creator/qt-creator
Maemo: Fix SSH signal connections.
This commit is contained in:
@@ -567,7 +567,7 @@ void MaemoDeployStep::connectToDevice()
|
|||||||
m_connection = SshConnection::create();
|
m_connection = SshConnection::create();
|
||||||
connect(m_connection.data(), SIGNAL(connected()), this,
|
connect(m_connection.data(), SIGNAL(connected()), this,
|
||||||
SLOT(handleConnected()));
|
SLOT(handleConnected()));
|
||||||
connect(m_connection.data(), SIGNAL(error(SshError)), this,
|
connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
|
||||||
SLOT(handleConnectionFailure()));
|
SLOT(handleConnectionFailure()));
|
||||||
if (canReUse) {
|
if (canReUse) {
|
||||||
unmountOldDirs();
|
unmountOldDirs();
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ void MaemoSshRunner::start()
|
|||||||
m_connection = SshConnection::create();
|
m_connection = SshConnection::create();
|
||||||
connect(m_connection.data(), SIGNAL(connected()), this,
|
connect(m_connection.data(), SIGNAL(connected()), this,
|
||||||
SLOT(handleConnected()));
|
SLOT(handleConnected()));
|
||||||
connect(m_connection.data(), SIGNAL(error(SshError)), this,
|
connect(m_connection.data(), SIGNAL(error(Core::SshError)), this,
|
||||||
SLOT(handleConnectionFailure()));
|
SLOT(handleConnectionFailure()));
|
||||||
if (reUse) {
|
if (reUse) {
|
||||||
handleConnected();
|
handleConnected();
|
||||||
|
|||||||
Reference in New Issue
Block a user