forked from qt-creator/qt-creator
		
	Rename IRunConfigurationFactory to RunConfigurationFactory
It's not an *I*nterface anymore Also, remove the in-all-but-one case unused QObject parent and the object name that was only there for debugging purposes. The class type serves the same purpose in the debugger. Change-Id: I0dafb01e6b4fd7c7df04a63aaa3ef3e4bd693f6f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
		| @@ -540,7 +540,7 @@ void Target::updateDefaultRunConfigurations() | ||||
|     QList<RunConfigurationCreationInfo> allAvailableFactories; | ||||
|     QList<RunConfigurationCreationInfo> autoCreateFactories; | ||||
|  | ||||
|     for (IRunConfigurationFactory *rcFactory : IRunConfigurationFactory::allFactories()) { | ||||
|     for (RunConfigurationFactory *rcFactory : RunConfigurationFactory::allFactories()) { | ||||
|         if (rcFactory->canHandle(this)) { | ||||
|             const QList<RunConfigurationCreationInfo> creators = rcFactory->availableCreators(this); | ||||
|             for (const RunConfigurationCreationInfo &creator : creators) { | ||||
| @@ -815,7 +815,7 @@ bool Target::fromMap(const QVariantMap &map) | ||||
|  | ||||
|         // Ignore missing RCs: We will just populate them using the default ones. | ||||
|         QVariantMap valueMap = map.value(key).toMap(); | ||||
|         RunConfiguration *rc = IRunConfigurationFactory::restore(this, valueMap); | ||||
|         RunConfiguration *rc = RunConfigurationFactory::restore(this, valueMap); | ||||
|         if (!rc) | ||||
|             continue; | ||||
|         QTC_CHECK(rc->id().withSuffix(rc->extraId()) == ProjectExplorer::idFromMap(valueMap)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user