forked from qt-creator/qt-creator
CppEditor: Compile fix for MSVC
Change-Id: I07f94584b876a41988f3e9d37c3b6db16738c05f Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
4d3d0e0290
commit
59a604901c
@@ -1362,7 +1362,7 @@ void CppCodeModelInspectorDialog::refresh()
|
||||
dumper.dumpSnapshot(globalSnapshot, globalSnapshotTitle, /*isGlobalSnapshot=*/ true);
|
||||
|
||||
TextEditor::BaseTextEditor *editor = currentEditor();
|
||||
CppEditorDocumentHandle *cppEditorDocument = 0;
|
||||
CppTools::CppEditorDocumentHandle *cppEditorDocument = 0;
|
||||
if (editor) {
|
||||
const QString editorFilePath = editor->document()->filePath().toString();
|
||||
cppEditorDocument = cmmi->cppEditorDocument(editorFilePath);
|
||||
|
||||
Reference in New Issue
Block a user