centralize entering the InferiorStartFailed state

This commit is contained in:
Oswald Buddenhagen
2009-10-12 18:23:54 +02:00
parent 1a27681c78
commit 973f607e64
4 changed files with 1 additions and 7 deletions

View File

@@ -111,7 +111,6 @@ void AttachGdbAdapter::handleAttach(const GdbResponse &response)
m_engine->updateAll();
} else {
QString msg = __(response.data.findChild("msg").data());
setState(InferiorStartFailed);
emit inferiorStartFailed(msg);
}
}