From 6c75fcbd6b55c915f00d4cff29d54d4232d5c64f Mon Sep 17 00:00:00 2001 From: Christian Kandeler <christian.kandeler@nokia.com> Date: Thu, 28 Jul 2011 13:35:47 +0200 Subject: [PATCH] RemoteLinux: Improve deploy step widget information. The value of the active build configuration can influence whether or not deployment is possible. Change-Id: I20c2d8de9771eab2c113e57cd8fdae5a92a56a3d Reviewed-on: http://codereview.qt.nokia.com/2337 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com> --- src/plugins/remotelinux/remotelinuxdeploystepwidget.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/remotelinux/remotelinuxdeploystepwidget.cpp b/src/plugins/remotelinux/remotelinuxdeploystepwidget.cpp index 5d202705225..5c07e348693 100644 --- a/src/plugins/remotelinux/remotelinuxdeploystepwidget.cpp +++ b/src/plugins/remotelinux/remotelinuxdeploystepwidget.cpp @@ -35,6 +35,8 @@ #include "remotelinuxdeployconfiguration.h" #include "remotelinuxutils.h" +#include <projectexplorer/target.h> + using namespace ProjectExplorer; namespace RemoteLinux { @@ -51,6 +53,9 @@ RemoteLinuxDeployStepWidget::RemoteLinuxDeployStepWidget(AbstractRemoteLinuxDepl SLOT(handleStepToBeRemoved(int))); // TODO: Move this knowledge into the deploy step itself. + connect(m_step->target(), + SIGNAL(activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration*)), + SIGNAL(updateSummary())); connect(m_step->deployConfiguration(), SIGNAL(currentDeviceConfigurationChanged()), SIGNAL(updateSummary())); } -- GitLab