RemoteLinux: Change output at the end of a deploy step.

"Deployment finished" is potentially misleading, as other steps
might follow.

Change-Id: I457b2c2427c65146b48e13bf9323ac11feee18db
Reviewed-on: http://codereview.qt-project.org/4561
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Christian Kandeler
2011-09-09 17:06:15 +02:00
parent 3e1ad6f5fe
commit aa5f2928a4

View File

@@ -136,9 +136,9 @@ void AbstractRemoteLinuxDeployStep::handleErrorMessage(const QString &message)
void AbstractRemoteLinuxDeployStep::handleFinished()
{
if (m_d->hasError)
emit addOutput(tr("Deployment failed."), ErrorMessageOutput);
emit addOutput(tr("Deploy step failed."), ErrorMessageOutput);
else
emit addOutput(tr("Deployment finished."), MessageOutput);
emit addOutput(tr("Deploy step finished."), MessageOutput);
disconnect(deployService(), 0, this, 0);
m_d->future.reportResult(!m_d->hasError);
emit finished();