forked from qt-creator/qt-creator
CppTools: Fix getting locator filters from the object pool
They are no longer inside the global object pool. Get them from CppModelManager instead. Task-number: QTCREATORBUG-20678 Change-Id: Ifb3221a812295e1dcfe8b59ea693a4b350cbcc2e Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -390,6 +390,36 @@ void CppModelManager::setCurrentDocumentFilter(std::unique_ptr<Core::ILocatorFil
|
||||
setFilter(d->m_currentDocumentFilter, std::move(filter));
|
||||
}
|
||||
|
||||
Core::ILocatorFilter *CppModelManager::locatorFilter() const
|
||||
{
|
||||
return d->m_locatorFilter.get();
|
||||
}
|
||||
|
||||
Core::ILocatorFilter *CppModelManager::classesFilter() const
|
||||
{
|
||||
return d->m_classesFilter.get();
|
||||
}
|
||||
|
||||
Core::ILocatorFilter *CppModelManager::includesFilter() const
|
||||
{
|
||||
return d->m_includesFilter.get();
|
||||
}
|
||||
|
||||
Core::ILocatorFilter *CppModelManager::functionsFilter() const
|
||||
{
|
||||
return d->m_functionsFilter.get();
|
||||
}
|
||||
|
||||
Core::IFindFilter *CppModelManager::symbolsFindFilter() const
|
||||
{
|
||||
return d->m_symbolsFindFilter.get();
|
||||
}
|
||||
|
||||
Core::ILocatorFilter *CppModelManager::currentDocumentFilter() const
|
||||
{
|
||||
return d->m_currentDocumentFilter.get();
|
||||
}
|
||||
|
||||
FollowSymbolInterface &CppModelManager::followSymbolInterface() const
|
||||
{
|
||||
return d->m_activeModelManagerSupport->followSymbolInterface();
|
||||
|
Reference in New Issue
Block a user