aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2014-08-19 15:46:50 +0200
committerErik Verbruggen <erik.verbruggen@digia.com>2014-08-20 11:12:48 +0200
commit7d35212f60c7b6f0b71ec53177e52d1a71f1282e (patch)
tree047a5ffb0a6092c3eed3fdc7c427125d8196dcc0 /src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
parent7e71a299ef76917458c92a033a1636d3e6452018 (diff)
CppTools: Rename SnapshotUpdater to BuiltinEditorDocumentParser
Change-Id: I554b5e9e3f1ef7c167fa45b5cd0c230fdf63073b Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppcodemodelinspectordialog.cpp')
-rw-r--r--src/plugins/cppeditor/cppcodemodelinspectordialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/cppcodemodelinspectordialog.cpp b/src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
index 3e6b6b3418a..0cc424c5676 100644
--- a/src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
+++ b/src/plugins/cppeditor/cppcodemodelinspectordialog.cpp
@@ -1362,7 +1362,7 @@ void CppCodeModelInspectorDialog::refresh()
if (editor) {
editorSupport = cmmi->cppEditorSupport(editor);
if (editorSupport) {
- const CPlusPlus::Snapshot editorSnapshot = editorSupport->snapshotUpdater()->snapshot();
+ const CPlusPlus::Snapshot editorSnapshot = editorSupport->documentParser()->snapshot();
m_snapshotInfos->append(SnapshotInfo(editorSnapshot, SnapshotInfo::EditorSnapshot));
const QString editorSnapshotTitle
= QString::fromLatin1("Current Editor's Snapshot (%1 Documents)")
@@ -1413,7 +1413,7 @@ void CppCodeModelInspectorDialog::refresh()
// Project Parts
const ProjectPart::Ptr editorsProjectPart = editorSupport
- ? editorSupport->snapshotUpdater()->projectPart()
+ ? editorSupport->documentParser()->projectPart()
: ProjectPart::Ptr();
const QList<ProjectInfo> projectInfos = cmmi->projectInfos();