forked from qt-creator/qt-creator
CppTools: Allow to force a "Parsing" notification
Task-number: QTCREATORBUG-9597 Change-Id: I726a818c7d4af35dcb4863f74b08cd639a189bdd Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -522,14 +522,15 @@ CppModelManager::WorkingCopy CppModelManager::workingCopy() const
|
||||
return const_cast<CppModelManager *>(this)->buildWorkingCopyList();
|
||||
}
|
||||
|
||||
QFuture<void> CppModelManager::updateSourceFiles(const QStringList &sourceFiles)
|
||||
QFuture<void> CppModelManager::updateSourceFiles(const QStringList &sourceFiles,
|
||||
ProgressNotificationMode mode)
|
||||
{
|
||||
if (sourceFiles.isEmpty() || !m_indexerEnabled)
|
||||
return QFuture<void>();
|
||||
|
||||
if (m_indexingSupporter)
|
||||
m_indexingSupporter->refreshSourceFiles(sourceFiles);
|
||||
return m_internalIndexingSupport->refreshSourceFiles(sourceFiles);
|
||||
m_indexingSupporter->refreshSourceFiles(sourceFiles, mode);
|
||||
return m_internalIndexingSupport->refreshSourceFiles(sourceFiles, mode);
|
||||
}
|
||||
|
||||
QList<CppModelManager::ProjectInfo> CppModelManager::projectInfos() const
|
||||
|
Reference in New Issue
Block a user