aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/ssh/sshremoteprocess.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <[email protected]>2012-06-08 08:23:32 +0200
committerhjk <[email protected]>2012-06-08 10:12:11 +0200
commit303e67304e42cc419b735ca609104ad4ed386d54 (patch)
tree2641f93d25319c5712ad1abeece321667277065e /src/libs/ssh/sshremoteprocess.cpp
parent69a437873a88d058b89770b5cfae35aa8b75bc2c (diff)
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 <[email protected]>
Diffstat (limited to 'src/libs/ssh/sshremoteprocess.cpp')
-rw-r--r--src/libs/ssh/sshremoteprocess.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/ssh/sshremoteprocess.cpp b/src/libs/ssh/sshremoteprocess.cpp
index 1bcba171fe0..11abe3b8488 100644
--- a/src/libs/ssh/sshremoteprocess.cpp
+++ b/src/libs/ssh/sshremoteprocess.cpp
@@ -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);
}
}