diff options
author | hjk <[email protected]> | 2018-05-14 17:50:56 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2018-05-31 10:15:42 +0000 |
commit | f44e73b858af7d67b9c855469bee71927ba3f86b (patch) | |
tree | 7156c74edf440aaa2d9b9f778e6e5f2fd9ade04f /src/plugins/autotoolsprojectmanager/configurestep.cpp | |
parent | 4feb2259d93dc666d41582ae63aa4b7499ef86a5 (diff) |
ProjectExplorer: Simplify BuildStepFactory
De-QObject-ify class, tr contexts are now the product's
context, which was the case in some BuildStepFactories already,
and is current state in {Run,DeployConfiguration}Factory.
One spurious object name removed.
De-virtualize canHandle(), it was never overloaded and is not
intended to be overloaded anymore.
Remove unused clone() function.
Change-Id: Iff7fba5f707505f868f94458084a18650535fa23
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/configurestep.cpp')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/configurestep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/autotoolsprojectmanager/configurestep.cpp b/src/plugins/autotoolsprojectmanager/configurestep.cpp index 7d370e2ded8..5ae119553d7 100644 --- a/src/plugins/autotoolsprojectmanager/configurestep.cpp +++ b/src/plugins/autotoolsprojectmanager/configurestep.cpp @@ -70,7 +70,7 @@ static QString projectDirRelativeToBuildDir(BuildConfiguration *bc) { ConfigureStepFactory::ConfigureStepFactory() { registerStep<ConfigureStep>(CONFIGURE_STEP_ID); - setDisplayName(tr("Configure", "Display name for AutotoolsProjectManager::ConfigureStep id.")); + setDisplayName(ConfigureStep::tr("Configure", "Display name for AutotoolsProjectManager::ConfigureStep id.")); setSupportedProjectType(Constants::AUTOTOOLS_PROJECT_ID); setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_BUILD); } |