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:
Tobias Hunger
2018-02-16 12:26:58 +01:00
parent 9467ed42c3
commit 8059bf6204
10 changed files with 20 additions and 15 deletions

View File

@@ -159,7 +159,7 @@ void NimProject::updateProject()
emitParsingFinished(true);
}
bool NimProject::supportsKit(Kit *k, QString *errorMessage) const
bool NimProject::supportsKit(const Kit *k, QString *errorMessage) const
{
auto tc = dynamic_cast<NimToolChain*>(ToolChainKitInformation::toolChain(k, Constants::C_NIMLANGUAGE_ID));
if (!tc) {