forked from qt-creator/qt-creator
Merge BaseTextEditorWidget::editorDocument() and ::baseTextDocument()
Doesn't really make sense to have the additional IDocument *editorDocument() method. Change-Id: I0a7420eb1afaa76f63c3f7e9c4b373acf624ffb9 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -85,7 +85,7 @@ void CppElementEvaluator::execute()
|
||||
return;
|
||||
|
||||
const Snapshot &snapshot = m_modelManager->snapshot();
|
||||
Document::Ptr doc = snapshot.document(m_editor->editorDocument()->filePath());
|
||||
Document::Ptr doc = snapshot.document(m_editor->baseTextDocument()->filePath());
|
||||
if (!doc)
|
||||
return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user