Maemo: Fix misleading error message.

This commit is contained in:
Christian Kandeler
2011-04-21 09:37:52 +02:00
parent 220b9f60d4
commit 92cc93db15

View File

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