forked from qt-creator/qt-creator
		
	Actually propagate targetinformationchanged signal
* Fixes RunConfigurations not updating when changing something in the BuildConfiguration. Reviewed-by: dt
This commit is contained in:
		| @@ -412,6 +412,8 @@ void Qt4Target::onAddedBuildConfiguration(ProjectExplorer::BuildConfiguration *b | ||||
|     Q_ASSERT(qt4bc); | ||||
|     connect(qt4bc, SIGNAL(buildDirectoryInitialized()), | ||||
|             this, SIGNAL(buildDirectoryInitialized())); | ||||
|     connect(qt4bc, SIGNAL(targetInformationChanged()), | ||||
|             this, SLOT(changeTargetInformation())); | ||||
| } | ||||
|  | ||||
| void Qt4Target::slotUpdateDeviceInformation() | ||||
| @@ -422,6 +424,13 @@ void Qt4Target::slotUpdateDeviceInformation() | ||||
|     } | ||||
| } | ||||
|  | ||||
| void Qt4Target::changeTargetInformation() | ||||
| { | ||||
|     Qt4BuildConfiguration * bc = qobject_cast<Qt4BuildConfiguration *>(sender()); | ||||
|     if (bc && bc == activeBuildConfiguration()) | ||||
|         emit targetInformationChanged(); | ||||
| } | ||||
|  | ||||
| void Qt4Target::updateToolTipAndIcon() | ||||
| { | ||||
|     if (const S60DeviceRunConfiguration *s60DeviceRc = qobject_cast<S60DeviceRunConfiguration *>(activeRunConfiguration()))  { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user