forked from qt-creator/qt-creator
C++: Reduce FileName indirection
Change-Id: Ib7dfa4d3984f807985b7ce2ee0e58fb0565adc06 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
156228aeb8
commit
27a3e1c0b4
@@ -85,7 +85,7 @@ void CppElementEvaluator::execute()
|
||||
return;
|
||||
|
||||
const Snapshot &snapshot = m_modelManager->snapshot();
|
||||
Document::Ptr doc = snapshot.document(m_editor->textDocument()->filePath().toString());
|
||||
Document::Ptr doc = snapshot.document(m_editor->textDocument()->filePath());
|
||||
if (!doc)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user