aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/snippets
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-06-01 17:55:31 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-06-09 04:17:42 +0000
commite00aa54f4e1d1e91e6dcac416eb9a3996145735a (patch)
tree6d34aa67ee49384ba09087de7dc200df43665c47 /src/plugins/texteditor/snippets
parent686def2dc2e1ddb147be18d872c7d69ac9c84222 (diff)
Add override keyword to IEditor & TextEditorWidget implementations
Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Diffstat (limited to 'src/plugins/texteditor/snippets')
-rw-r--r--src/plugins/texteditor/snippets/snippeteditor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/texteditor/snippets/snippeteditor.h b/src/plugins/texteditor/snippets/snippeteditor.h
index 8d99a53a9c6..85c5667cbf8 100644
--- a/src/plugins/texteditor/snippets/snippeteditor.h
+++ b/src/plugins/texteditor/snippets/snippeteditor.h
@@ -47,9 +47,9 @@ signals:
void snippetContentChanged();
protected:
- virtual void focusOutEvent(QFocusEvent *event);
+ virtual void focusOutEvent(QFocusEvent *event) override;
- virtual int extraAreaWidth(int * /* markWidthPtr */ = 0) const { return 0; }
+ virtual int extraAreaWidth(int * /* markWidthPtr */ = 0) const override { return 0; }
};
} // namespace TextEditor