summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2012-02-21 14:57:30 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2012-02-21 15:01:31 +0100
commit7f943caedbc583d73a7218d1f922a3e8afd2c0b4 (patch)
tree9f30448bab1e706167916c576579d52f81284dc0 /src
parent290dad9538bddb9ba6db403d8805d972559f3e51 (diff)
downloadqt-creator-7f943caedbc583d73a7218d1f922a3e8afd2c0b4.tar.gz
Autotools: Do not register buildconfigurationfactory
Change-Id: I8df8ca7d4440436acb595d69d64f460125d4dbd0 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolsprojectplugin.cpp1
-rw-r--r--src/plugins/autotoolsprojectmanager/autotoolstarget.cpp2
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");