aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/autotoolsprojectmanager/autogenstep.cpp
diff options
context:
space:
mode:
authorDaniel Teske <[email protected]>2012-11-01 18:15:09 +0100
committerDaniel Teske <[email protected]>2012-11-16 14:39:10 +0100
commit3d9ce0f687860166d730d9175cad1dc174684f02 (patch)
tree5e95179c0a2aa1aca43434639ab5f7d129870111 /src/plugins/autotoolsprojectmanager/autogenstep.cpp
parent4e93ce81a8c0c3507f86708b14e998af1541d4bc (diff)
Remove autotoolsBuildConfiguration() from all steps
All of the steps are just using standard buildconfiguration methods. Change-Id: Ibdef14e0e845e0bfc8828922a985070665e5f172 Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/autogenstep.cpp')
-rw-r--r--src/plugins/autotoolsprojectmanager/autogenstep.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/autotoolsprojectmanager/autogenstep.cpp b/src/plugins/autotoolsprojectmanager/autogenstep.cpp
index 373660d3b57..cf0b03ff57f 100644
--- a/src/plugins/autotoolsprojectmanager/autogenstep.cpp
+++ b/src/plugins/autotoolsprojectmanager/autogenstep.cpp
@@ -151,14 +151,9 @@ void AutogenStep::ctor()
setDefaultDisplayName(tr("Autogen"));
}
-AutotoolsBuildConfiguration *AutogenStep::autotoolsBuildConfiguration() const
-{
- return static_cast<AutotoolsBuildConfiguration *>(buildConfiguration());
-}
-
bool AutogenStep::init()
{
- AutotoolsBuildConfiguration *bc = autotoolsBuildConfiguration();
+ BuildConfiguration *bc = buildConfiguration();
ProcessParameters *pp = processParameters();
pp->setMacroExpander(bc->macroExpander());
@@ -172,7 +167,7 @@ bool AutogenStep::init()
void AutogenStep::run(QFutureInterface<bool> &interface)
{
- AutotoolsBuildConfiguration *bc = autotoolsBuildConfiguration();
+ BuildConfiguration *bc = buildConfiguration();
// Check whether we need to run autogen.sh
const QFileInfo configureInfo(bc->buildDirectory() + QLatin1String("/configure"));
@@ -273,7 +268,7 @@ QString AutogenStepConfigWidget::summaryText() const
void AutogenStepConfigWidget::updateDetails()
{
- AutotoolsBuildConfiguration *bc = m_autogenStep->autotoolsBuildConfiguration();
+ BuildConfiguration *bc = m_autogenStep->buildConfiguration();
ProcessParameters param;
param.setMacroExpander(bc->macroExpander());