forked from qt-creator/qt-creator
CppEditor: Proliferate use of FilePath a bit
Change-Id: I7e314d73a427bf40c10f3ca6c4c5804e31482f88 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -2079,12 +2079,12 @@ QThreadPool *CppModelManager::sharedThreadPool()
|
||||
return &d->m_threadPool;
|
||||
}
|
||||
|
||||
bool CppModelManager::setExtraDiagnostics(const QString &fileName,
|
||||
bool CppModelManager::setExtraDiagnostics(const FilePath &filePath,
|
||||
const QString &kind,
|
||||
const QList<Document::DiagnosticMessage> &diagnostics)
|
||||
{
|
||||
d->m_diagnosticMessages = diagnostics;
|
||||
emit m_instance->diagnosticsChanged(fileName, kind);
|
||||
emit m_instance->diagnosticsChanged(filePath, kind);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user