Core: Use FileName for DocumentModel::Entry::fileName

Change-Id: I81d0aea2354a9d0461646590f06bb38bd4366f29
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-02-15 15:57:21 +02:00
committed by Orgad Shaneh
parent 92b545807f
commit f5fcb3dd92
9 changed files with 36 additions and 37 deletions

View File

@@ -168,7 +168,7 @@ void CppIncludesFilter::prepareSearch(const QString &entry)
}
foreach (DocumentModel::Entry *entry, DocumentModel::entries()) {
if (entry)
seedPaths.insert(entry->fileName());
seedPaths.insert(entry->fileName().toString());
}
CPlusPlus::Snapshot snapshot = CppModelManager::instance()->snapshot();
setFileIterator(new CppIncludesIterator(snapshot, seedPaths));