Maemo: Inform debugger engine about connection loss.

Task-number: QTCREATORBUG-3783
This commit is contained in:
Christian Kandeler
2011-02-11 14:20:23 +01:00
parent 0d430277d4
commit ac26a8edaa
2 changed files with 4 additions and 1 deletions

View File

@@ -171,6 +171,8 @@ void MaemoDebugSupport::handleSshError(const QString &error)
if (m_state == Debugging) {
showMessage(tr("SSH connection error: %1").arg(error),
AppError);
if (m_engine)
m_engine->notifyInferiorIll();
} else if (m_state != Inactive) {
handleAdapterSetupFailed(error);
}