forked from qt-creator/qt-creator
Changed the signature of findReferences()
This commit is contained in:
@@ -720,10 +720,8 @@ void CppModelManager::removeEditorSupport(AbstractEditorSupport *editorSupport)
|
||||
|
||||
void CppModelManager::findReferences(CPlusPlus::Symbol *symbol)
|
||||
{
|
||||
if (Identifier *id = symbol->identifier()) {
|
||||
QString word = QString::fromLatin1(id->chars(), id->size());
|
||||
m_findReferences->findAll(symbol->fileName(), word);
|
||||
}
|
||||
if (symbol->identifier())
|
||||
m_findReferences->findAll(snapshot(), symbol);
|
||||
}
|
||||
|
||||
QMap<QString, QString> CppModelManager::buildWorkingCopyList()
|
||||
|
Reference in New Issue
Block a user