forked from qt-creator/qt-creator
Utils: Use override consistently
clang-tidy fixes from modernize-use-override check. Change-Id: I89d27f359b6ee507153cb3712f61f81471ff0858 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
86b368f912
commit
07e67b2188
@@ -43,7 +43,7 @@ class QTCREATOR_UTILS_EXPORT FancyMainWindow : public QMainWindow
|
||||
|
||||
public:
|
||||
explicit FancyMainWindow(QWidget *parent = 0);
|
||||
virtual ~FancyMainWindow();
|
||||
~FancyMainWindow() override;
|
||||
|
||||
/* The widget passed in should have an objectname set
|
||||
* which will then be used as key for QSettings. */
|
||||
@@ -76,9 +76,9 @@ public slots:
|
||||
void setDockActionsVisible(bool v);
|
||||
|
||||
protected:
|
||||
void hideEvent(QHideEvent *event);
|
||||
void showEvent(QShowEvent *event);
|
||||
void contextMenuEvent(QContextMenuEvent *event);
|
||||
void hideEvent(QHideEvent *event) override;
|
||||
void showEvent(QShowEvent *event) override;
|
||||
void contextMenuEvent(QContextMenuEvent *event) override;
|
||||
|
||||
private:
|
||||
void onDockActionTriggered();
|
||||
|
||||
Reference in New Issue
Block a user