Project: Improve default implementation of Project::needsConfiguration

Change-Id: Ic4d227334d818658f179c0589462551509274c17
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Tobias Hunger
2018-03-09 13:30:13 +01:00
parent 964476983e
commit 835d4e92f3
12 changed files with 11 additions and 21 deletions

View File

@@ -361,11 +361,6 @@ CMakeProjectNode *CMakeProject::generateProjectTree(const QList<const FileNode *
return root ? root.release() : nullptr;
}
bool CMakeProject::needsConfiguration() const
{
return targets().isEmpty();
}
bool CMakeProject::knowsAllBuildExecutables() const
{
return false;

View File

@@ -68,7 +68,6 @@ public:
CMakeBuildTarget buildTargetForTitle(const QString &title);
bool needsConfiguration() const final;
bool knowsAllBuildExecutables() const final;
bool supportsKit(const ProjectExplorer::Kit *k, QString *errorMessage = nullptr) const final;