summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@nokia.com>2012-06-08 08:23:32 +0200
committerhjk <qthjk@ovi.com>2012-06-08 10:12:11 +0200
commit303e67304e42cc419b735ca609104ad4ed386d54 (patch)
tree2641f93d25319c5712ad1abeece321667277065e /src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp
parent69a437873a88d058b89770b5cfae35aa8b75bc2c (diff)
downloadqt-creator-303e67304e42cc419b735ca609104ad4ed386d54.tar.gz
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>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp b/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp
index 11d2bc435b..021755c6eb 100644
--- a/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp
+++ b/src/plugins/remotelinux/remotelinuxcustomcommanddeployservice.cpp
@@ -136,7 +136,7 @@ void RemoteLinuxCustomCommandDeployService::handleProcessClosed(int exitStatus)
if (exitStatus == SshRemoteProcess::FailedToStart) {
emit errorMessage(tr("Remote process failed to start."));
- } else if (exitStatus == SshRemoteProcess::KilledBySignal) {
+ } else if (exitStatus == SshRemoteProcess::CrashExit) {
emit errorMessage(tr("Remote process was killed by a signal."));
} else if (d->runner->processExitCode() != 0) {
emit errorMessage(tr("Remote process finished with exit code %1.")