forked from qt-creator/qt-creator
CMake: Remove cmake autodetectionhelpers
No user in-tree and the Ubuntu SDK for which this code was added is no more. Change-Id: I5b0c5f6faccf1adb451c4043378a204bfc350e50 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -54,7 +54,6 @@ public:
|
||||
Id m_defaultCMake;
|
||||
QList<CMakeTool *> m_cmakeTools;
|
||||
PersistentSettingsWriter *m_writer = nullptr;
|
||||
QList<CMakeToolManager::AutodetectionHelper> m_autoDetectionHelpers;
|
||||
};
|
||||
static CMakeToolManagerPrivate *d = nullptr;
|
||||
|
||||
@@ -180,10 +179,6 @@ static QList<CMakeTool *> autoDetectCMakeTools()
|
||||
found.append(item);
|
||||
}
|
||||
|
||||
//execute custom helpers if available
|
||||
foreach (CMakeToolManager::AutodetectionHelper source, d->m_autoDetectionHelpers)
|
||||
found.append(source());
|
||||
|
||||
return found;
|
||||
}
|
||||
|
||||
@@ -375,11 +370,6 @@ void CMakeToolManager::restoreCMakeTools()
|
||||
emit m_instance->cmakeToolsLoaded();
|
||||
}
|
||||
|
||||
void CMakeToolManager::registerAutodetectionHelper(CMakeToolManager::AutodetectionHelper helper)
|
||||
{
|
||||
d->m_autoDetectionHelpers.append(helper);
|
||||
}
|
||||
|
||||
void CMakeToolManager::notifyAboutUpdate(CMakeTool *tool)
|
||||
{
|
||||
if (!tool || !d->m_cmakeTools.contains(tool))
|
||||
|
||||
Reference in New Issue
Block a user