diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2012-02-21 14:57:30 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2012-02-21 15:01:31 +0100 |
commit | 7f943caedbc583d73a7218d1f922a3e8afd2c0b4 (patch) | |
tree | 9f30448bab1e706167916c576579d52f81284dc0 /src/plugins/autotoolsprojectmanager | |
parent | 290dad9538bddb9ba6db403d8805d972559f3e51 (diff) | |
download | qt-creator-7f943caedbc583d73a7218d1f922a3e8afd2c0b4.tar.gz |
Autotools: Do not register buildconfigurationfactory
Change-Id: I8df8ca7d4440436acb595d69d64f460125d4dbd0
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp | 1 | ||||
-rw-r--r-- | src/plugins/autotoolsprojectmanager/autotoolstarget.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp b/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp index d16a9cdd74..f8389b6c37 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp @@ -67,7 +67,6 @@ bool AutotoolsProjectPlugin::initialize(const QStringList &arguments, return false; addAutoReleasedObject(new AutotoolsTargetFactory); - addAutoReleasedObject(new AutotoolsBuildConfigurationFactory); addAutoReleasedObject(new MakeStepFactory); addAutoReleasedObject(new AutogenStepFactory); addAutoReleasedObject(new ConfigureStepFactory); diff --git a/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp b/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp index 3cb86856bf..ea93603cb2 100644 --- a/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp +++ b/src/plugins/autotoolsprojectmanager/autotoolstarget.cpp @@ -146,7 +146,7 @@ AutotoolsTarget *AutotoolsTargetFactory::create(Project *parent, const QString & AutotoolsTarget *t = new AutotoolsTarget(project); // Add default build configuration: - AutotoolsBuildConfigurationFactory *bcf = ExtensionSystem::PluginManager::instance()->getObject<AutotoolsBuildConfigurationFactory>(); + AutotoolsBuildConfigurationFactory *bcf = t->buildConfigurationFactory(); AutotoolsBuildConfiguration *bc = bcf->createDefaultConfiguration(t); bc->setDisplayName("Default Build"); |