diff options
author | hjk <hjk@qt.io> | 2018-01-12 12:23:56 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-01-16 11:32:34 +0000 |
commit | d7147f90684651f1f21745b3fdd4a3b24fa7703f (patch) | |
tree | 8f252e391c8a29e641026f5f0bfec1791b689871 /src/plugins/projectexplorer/target.cpp | |
parent | eecc26f40ea8b1c558fd4edeedc4fea6fbe69d10 (diff) |
ProjectExplorer: Remove allDeployConfigurationFactories() accessor
It's only used once to check whether there exist at least one.
Since there's always the DefaultConfigurationFactory when the
ProjectExplorer is present, this check will always succeed.
Change-Id: Id457701bd6c8f68b91a0e225507181a878faac4a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/target.cpp')
-rw-r--r-- | src/plugins/projectexplorer/target.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/target.cpp b/src/plugins/projectexplorer/target.cpp index ec7a43e39c..2d80aa77aa 100644 --- a/src/plugins/projectexplorer/target.cpp +++ b/src/plugins/projectexplorer/target.cpp @@ -262,9 +262,6 @@ void Target::addDeployConfiguration(DeployConfiguration *dc) QTC_ASSERT(dc && !d->m_deployConfigurations.contains(dc), return); Q_ASSERT(dc->target() == this); - if (DeployConfigurationFactory::allDeployConfigurationFactories().isEmpty()) - return; - // Check that we don't have a configuration with the same displayName QString configurationDisplayName = dc->displayName(); QStringList displayNames = Utils::transform(d->m_deployConfigurations, &DeployConfiguration::displayName); |