diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2020-02-05 13:43:22 +0300 |
---|---|---|
committer | Olivier Goffart <olivier@woboq.com> | 2020-02-10 18:41:07 +0300 |
commit | 1622615d5f89dcd08ea38701231f1a4ed4559c27 (patch) | |
tree | 187557878392363156fd2202e9e25ee402f4c6b5 /src/gui/protocolwidget.h | |
parent | c6981fc82435c45fe14f2197aed7d749c2176880 (diff) |
Run clang-tidy with modernize-use-override
And also replace all remaining Q_DECL_OVERRIDE to just override
Diffstat (limited to 'src/gui/protocolwidget.h')
-rw-r--r-- | src/gui/protocolwidget.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/protocolwidget.h b/src/gui/protocolwidget.h index f5d6b62aa..b65bb2c52 100644 --- a/src/gui/protocolwidget.h +++ b/src/gui/protocolwidget.h @@ -86,8 +86,8 @@ class ProtocolWidget : public QWidget Q_OBJECT public: explicit ProtocolWidget(QWidget *parent = 0); - ~ProtocolWidget(); - QSize sizeHint() const { return ownCloudGui::settingsDialogSize(); } + ~ProtocolWidget() override; + QSize sizeHint() const override { return ownCloudGui::settingsDialogSize(); } void storeSyncActivity(QTextStream &ts); @@ -96,8 +96,8 @@ public slots: void slotOpenFile(QTreeWidgetItem *item, int); protected: - void showEvent(QShowEvent *); - void hideEvent(QHideEvent *); + void showEvent(QShowEvent *) override; + void hideEvent(QHideEvent *) override; private slots: void slotItemContextMenu(const QPoint &pos); |