forked from qt-creator/qt-creator
CppEditor: Use FilePath for ProjectPath::m_sourceFiles
... and update using code. Change-Id: I682727a4b2982dba388e7cc7b9488225748d591f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -283,8 +283,7 @@ CPlusPlus::Document::Ptr TestCase::waitForRehighlightedSemanticDocument(CppEdito
|
||||
|
||||
bool TestCase::parseFiles(const QSet<FilePath> &filePaths)
|
||||
{
|
||||
QSet<QString> filePaths_ = transform(filePaths, &FilePath::toString);
|
||||
CppModelManager::instance()->updateSourceFiles(filePaths_).waitForFinished();
|
||||
CppModelManager::instance()->updateSourceFiles(filePaths).waitForFinished();
|
||||
QCoreApplication::processEvents();
|
||||
const CPlusPlus::Snapshot snapshot = globalSnapshot();
|
||||
if (snapshot.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user