forked from qt-creator/qt-creator
Add override keyword to IEditor & TextEditorWidget implementations
Change-Id: I403101d788d9edfea5c5c9440ab4f39ad00e81f7 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user