forked from qt-creator/qt-creator
Project: Make setRequiredKitPredicate private
Make calling Project::supportsKit(...) the default implementation. Change-Id: I0e47972097e760e2ff3be229afb85eff839146b8 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -376,7 +376,7 @@ bool CMakeProject::knowsAllBuildExecutables() const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CMakeProject::supportsKit(Kit *k, QString *errorMessage) const
|
||||
bool CMakeProject::supportsKit(const Kit *k, QString *errorMessage) const
|
||||
{
|
||||
if (!CMakeKitInformation::cmakeTool(k)) {
|
||||
if (errorMessage)
|
||||
|
||||
@@ -72,7 +72,7 @@ public:
|
||||
bool requiresTargetPanel() const final;
|
||||
bool knowsAllBuildExecutables() const final;
|
||||
|
||||
bool supportsKit(ProjectExplorer::Kit *k, QString *errorMessage = 0) const final;
|
||||
bool supportsKit(const ProjectExplorer::Kit *k, QString *errorMessage = nullptr) const final;
|
||||
|
||||
void runCMake();
|
||||
void runCMakeAndScanProjectTree();
|
||||
|
||||
Reference in New Issue
Block a user