Merge remote branch 'origin/2.1'

This commit is contained in:
con
2011-01-05 10:42:01 +01:00
8 changed files with 124 additions and 70 deletions

View File

@@ -131,6 +131,11 @@ void MaemoSshRunner::stop()
if (m_state == PostRunCleaning || m_state == StopRequested
|| m_state == Inactive)
return;
if (m_state == Connecting) {
setState(Inactive);
emit remoteProcessFinished(InvalidExitCode);
return;
}
setState(StopRequested);
cleanup();