diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 15:14:01 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 13:39:41 +0000 |
commit | dc2fc415b7d63486d80376390f8fc6f274042457 (patch) | |
tree | e5a905b8a3c3f408d0013d0b05de550b63b37917 /src/plugins/scxmleditor | |
parent | e30939fe4df788c2b95101f28512eee4668f6fa5 (diff) | |
download | qt-creator-dc2fc415b7d63486d80376390f8fc6f274042457.tar.gz |
ScxmlEditor: Use override consistently
clang-tidy fixes from modernize-use-override check.
Change-Id: I636077ee65961a797677ecab39741870470566e0
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/scxmleditor')
-rw-r--r-- | src/plugins/scxmleditor/outputpane/outputtabwidget.h | 2 | ||||
-rw-r--r-- | src/plugins/scxmleditor/plugin_interface/stateitem.h | 2 | ||||
-rw-r--r-- | src/plugins/scxmleditor/scxmleditordata.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/scxmleditor/outputpane/outputtabwidget.h b/src/plugins/scxmleditor/outputpane/outputtabwidget.h index fc8fbc70a8..493eb30028 100644 --- a/src/plugins/scxmleditor/outputpane/outputtabwidget.h +++ b/src/plugins/scxmleditor/outputpane/outputtabwidget.h @@ -75,7 +75,7 @@ class OutputTabWidget : public QFrame public: explicit OutputTabWidget(QWidget *parent = nullptr); - ~OutputTabWidget(); + ~OutputTabWidget() override; int addPane(OutputPane *pane); void showPane(OutputPane *pane); diff --git a/src/plugins/scxmleditor/plugin_interface/stateitem.h b/src/plugins/scxmleditor/plugin_interface/stateitem.h index 97954f8100..4ad1714502 100644 --- a/src/plugins/scxmleditor/plugin_interface/stateitem.h +++ b/src/plugins/scxmleditor/plugin_interface/stateitem.h @@ -62,7 +62,7 @@ public: void updateAttributes() override; void updateEditorInfo(bool allChildren = false) override; void updateColors() override; - virtual void doLayout(int d) override; + void doLayout(int d) override; void shrink(); void setInitial(bool initial); bool isInitial() const; diff --git a/src/plugins/scxmleditor/scxmleditordata.h b/src/plugins/scxmleditor/scxmleditordata.h index cbe35cfd41..25054ecb3a 100644 --- a/src/plugins/scxmleditor/scxmleditordata.h +++ b/src/plugins/scxmleditor/scxmleditordata.h @@ -47,7 +47,7 @@ class ScxmlEditorData : public QObject Q_OBJECT public: ScxmlEditorData(QObject *parent = nullptr); - ~ScxmlEditorData(); + ~ScxmlEditorData() override; void fullInit(); IEditor *createEditor(); |