SSH: Name SshRemoteProcess::ExitStatus values like the QProcess ones.

(We cannot use QProcess::ExitStatus itself, because it does not contain
FailedToStart.)

Change-Id: I83ed6de621e2693e539562cd8e56ef478fa4fcb9
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
Christian Kandeler
2012-06-08 08:23:32 +02:00
committed by hjk
parent 69a437873a
commit 303e67304e
21 changed files with 48 additions and 48 deletions

View File

@@ -280,9 +280,9 @@ void SshRemoteProcessPrivate::closeHook()
{
if (m_wasRunning) {
if (m_signal != SshRemoteProcess::NoSignal)
emit closed(SshRemoteProcess::KilledBySignal);
emit closed(SshRemoteProcess::CrashExit);
else
emit closed(SshRemoteProcess::ExitedNormally);
emit closed(SshRemoteProcess::NormalExit);
}
}