From 60cf5fe8cc3511c75d44bd7a96b27a4083153be8 Mon Sep 17 00:00:00 2001
From: Christian Kandeler <christian.kandeler@nokia.com>
Date: Fri, 8 Oct 2010 15:14:23 +0200
Subject: [PATCH] Maemo: Bugfix: Update state of run config when deploy
 settings change.

An added or removed deployment setting for an executable
can change whether it's runnable or not.

Reviewed-by: Tobias Hunger
---
 .../qt4projectmanager/qt-maemo/maemorunconfigurationwidget.cpp   | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/plugins/qt4projectmanager/qt-maemo/maemorunconfigurationwidget.cpp b/src/plugins/qt4projectmanager/qt-maemo/maemorunconfigurationwidget.cpp
index c2f8e57e624..ddc20d8ce50 100644
--- a/src/plugins/qt4projectmanager/qt-maemo/maemorunconfigurationwidget.cpp
+++ b/src/plugins/qt4projectmanager/qt-maemo/maemorunconfigurationwidget.cpp
@@ -284,6 +284,7 @@ void MaemoRunConfigurationWidget::updateTargetInformation()
 void MaemoRunConfigurationWidget::handleDeploySpecsChanged()
 {
     m_remoteExecutableLabel->setText(m_runConfiguration->remoteExecutableFilePath());
+    m_runConfiguration->updateFactoryState();
 }
 
 void MaemoRunConfigurationWidget::handleBuildConfigChanged()
-- 
GitLab