OSDN Git Service

RemoteLinuxConfiguration: Remove unneded code
authorDaniel Teske <daniel.teske@nokia.com>
Mon, 25 Jul 2011 11:44:20 +0000 (13:44 +0200)
committerDaniel Teske <daniel.teske@nokia.com>
Fri, 29 Jul 2011 10:18:17 +0000 (12:18 +0200)
The RemtoeLinuxConfiguration is already connected to proFileUpdated
which is emitted on changing the buildconfiguration.

Change-Id: Id3990853ef95fd7e562fdd4e67ef790cf0523387
Reviewed-on: http://codereview.qt.nokia.com/2340
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
src/plugins/remotelinux/remotelinuxrunconfiguration.cpp

index 9caca71..8319942 100644 (file)
@@ -131,8 +131,6 @@ void RemoteLinuxRunConfiguration::init()
     Qt4Project *pro = qt4Target()->qt4Project();
     connect(pro, SIGNAL(proFileUpdated(Qt4ProjectManager::Qt4ProFileNode*,bool,bool)),
             this, SLOT(proFileUpdate(Qt4ProjectManager::Qt4ProFileNode*,bool,bool)));
-    connect(target(), SIGNAL(activeBuildConfigurationChanged(ProjectExplorer::BuildConfiguration*)),
-        SLOT(updateEnabledState()));
 }
 
 RemoteLinuxRunConfiguration::~RemoteLinuxRunConfiguration()