diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2018-09-25 20:47:14 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2018-09-26 06:20:51 +0000 |
commit | 14863592516ef4f167a7933a6733bf3eedd88c41 (patch) | |
tree | 8cee512495d73ac5cd23e5a89710378468a9cc9c /src/plugins/resourceeditor | |
parent | 4b42789bdaccb89441ebd0b85fe7ab7fdea04df5 (diff) | |
download | qt-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.h | 2 |
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: |