forked from qt-creator/qt-creator
		
	ProjectExplorer: Move ITargetFactory to object pool
Makes multiple target factories per project possible Reviewed-By: hunger
This commit is contained in:
		| @@ -33,6 +33,7 @@ | ||||
| #include "genericprojectconstants.h" | ||||
| #include "genericprojectfileseditor.h" | ||||
| #include "genericmakestep.h" | ||||
| #include "generictarget.h" | ||||
|  | ||||
| #include <coreplugin/icore.h> | ||||
| #include <coreplugin/mimedatabase.h> | ||||
| @@ -78,6 +79,7 @@ bool GenericProjectPlugin::initialize(const QStringList &, QString *errorMessage | ||||
|     addAutoReleasedObject(manager); | ||||
|     addAutoReleasedObject(new GenericMakeStepFactory); | ||||
|     addAutoReleasedObject(new GenericProjectWizard); | ||||
|     addAutoReleasedObject(new GenericTargetFactory); | ||||
|  | ||||
|     return true; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user