summaryrefslogtreecommitdiff
path: root/src/plugins/resourceeditor
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/resourceeditor
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/resourceeditor')
-rw-r--r--src/plugins/resourceeditor/resourceeditorw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorw.h b/src/plugins/resourceeditor/resourceeditorw.h
index 2b7c8b8d08..25bca62908 100644
--- a/src/plugins/resourceeditor/resourceeditorw.h
+++ b/src/plugins/resourceeditor/resourceeditorw.h
@@ -89,7 +89,7 @@ public:
~ResourceEditorW() override;
// IEditor
- Core::IDocument *document() override { return m_resourceDocument; }
+ Core::IDocument *document() const override { return m_resourceDocument; }
QWidget *toolBar() override;
private: