ProjectExplorer: Rename one ToolChainFactory::autoDetect overload

... to detectForImport(). The overloads have different purposes,
sharing the name makes reasoning about them hard.

Change-Id: I57bfbbc1aa06ef85251e39c404bdbe5584a2ea41
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-07-02 10:26:58 +02:00
parent ed2371fb3b
commit 0715917414
7 changed files with 13 additions and 13 deletions

View File

@@ -442,7 +442,7 @@ QList<ToolChain *> ToolChainFactory::autoDetect(const QList<ToolChain *> &alread
return QList<ToolChain *>();
}
QList<ToolChain *> ToolChainFactory::autoDetect(const Utils::FilePath &compilerPath, const Core::Id &language)
QList<ToolChain *> ToolChainFactory::detectForImport(const Utils::FilePath &compilerPath, const Core::Id &language)
{
Q_UNUSED(compilerPath);
Q_UNUSED(language);