forked from qt-creator/qt-creator
ProjectExplorer: De-virtualize knowsAllBuildExectuables method on Project
Just use a setter instead. Change-Id: Id5dff64e9a7fcdf64a245b71432318299a49d9f7 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -111,6 +111,7 @@ CMakeProject::CMakeProject(const FilePath &fileName)
|
||||
setProjectLanguages(Core::Context(ProjectExplorer::Constants::CXX_LANGUAGE_ID));
|
||||
setDisplayName(projectDirectory().fileName());
|
||||
setCanBuildProducts();
|
||||
setKnowsAllBuildExecutables(false);
|
||||
|
||||
// Timer:
|
||||
m_delayedParsingTimer.setSingleShot(true);
|
||||
@@ -294,11 +295,6 @@ void CMakeProject::updateQmlJSCodeModel(CMakeBuildConfiguration *bc)
|
||||
modelManager->updateProjectInfo(projectInfo, this);
|
||||
}
|
||||
|
||||
bool CMakeProject::knowsAllBuildExecutables() const
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Tasks CMakeProject::projectIssues(const Kit *k) const
|
||||
{
|
||||
Tasks result = Project::projectIssues(k);
|
||||
|
||||
@@ -65,8 +65,6 @@ public:
|
||||
|
||||
QStringList buildTargetTitles() const;
|
||||
|
||||
bool knowsAllBuildExecutables() const final;
|
||||
|
||||
ProjectExplorer::Tasks projectIssues(const ProjectExplorer::Kit *k) const final;
|
||||
|
||||
void runCMake();
|
||||
|
||||
Reference in New Issue
Block a user