summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/editormanager
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-09-25 20:47:14 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-09-26 06:20:51 +0000
commit14863592516ef4f167a7933a6733bf3eedd88c41 (patch)
tree8cee512495d73ac5cd23e5a89710378468a9cc9c /src/plugins/coreplugin/editormanager
parent4b42789bdaccb89441ebd0b85fe7ab7fdea04df5 (diff)
downloadqt-creator-14863592516ef4f167a7933a6733bf3eedd88c41.tar.gz
Core: Change IEditor::document() to const
All the implementations are const. Change-Id: Ib9753fe764dd482d4f4392eec70878d42edc737a Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/editormanager')
-rw-r--r--src/plugins/coreplugin/editormanager/ieditor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/editormanager/ieditor.h b/src/plugins/coreplugin/editormanager/ieditor.h
index 5f6e64bb7e..b4626efc6b 100644
--- a/src/plugins/coreplugin/editormanager/ieditor.h
+++ b/src/plugins/coreplugin/editormanager/ieditor.h
@@ -44,7 +44,7 @@ public:
bool duplicateSupported() const;
void setDuplicateSupported(bool duplicateSupported);
- virtual IDocument *document() = 0;
+ virtual IDocument *document() const = 0;
virtual IEditor *duplicate() { return nullptr; }