diff options
author | Matthieu Gallien <matthieu.gallien@nextcloud.com> | 2021-08-17 13:39:31 +0300 |
---|---|---|
committer | Felix Weilbach (Rebase PR Action) <felix.weilbach@t-online.de> | 2021-08-31 11:35:56 +0300 |
commit | 25669938fd4fb33a9b6f12be30232d7f0fafc758 (patch) | |
tree | 598e45648e99301449e062ed4ae010455b34be15 /src/3rdparty | |
parent | 0c3f5cde121a18e0f3dd7d65283fcebdad7dbaf5 (diff) |
let clang-tidy add missing override after enabling again the check
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
Diffstat (limited to 'src/3rdparty')
-rw-r--r-- | src/3rdparty/QProgressIndicator/QProgressIndicator.h | 8 | ||||
-rw-r--r-- | src/3rdparty/qtlockedfile/qtlockedfile.h | 2 | ||||
-rw-r--r-- | src/3rdparty/qtsingleapplication/qtsingleapplication.h | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/3rdparty/QProgressIndicator/QProgressIndicator.h b/src/3rdparty/QProgressIndicator/QProgressIndicator.h index 4871cb8a2..536516106 100644 --- a/src/3rdparty/QProgressIndicator/QProgressIndicator.h +++ b/src/3rdparty/QProgressIndicator/QProgressIndicator.h @@ -67,8 +67,8 @@ public: */ const QColor & color() const { return m_color; } - virtual QSize sizeHint() const; - int heightForWidth(int w) const; + QSize sizeHint() const override; + int heightForWidth(int w) const override; public slots: /*! Starts the spin animation. \sa stopAnimation isAnimated @@ -98,8 +98,8 @@ public slots: */ void setColor(const QColor & color); protected: - virtual void timerEvent(QTimerEvent * event); - virtual void paintEvent(QPaintEvent * event); + void timerEvent(QTimerEvent * event) override; + void paintEvent(QPaintEvent * event) override; private: int m_angle = 0; int m_timerId = -1; diff --git a/src/3rdparty/qtlockedfile/qtlockedfile.h b/src/3rdparty/qtlockedfile/qtlockedfile.h index fcfb8cc24..128cbf0ff 100644 --- a/src/3rdparty/qtlockedfile/qtlockedfile.h +++ b/src/3rdparty/qtlockedfile/qtlockedfile.h @@ -57,7 +57,7 @@ public: QtLockedFile(); QtLockedFile(const QString &name); - ~QtLockedFile(); + ~QtLockedFile() override; bool lock(LockMode mode, bool block = true); bool unlock(); diff --git a/src/3rdparty/qtsingleapplication/qtsingleapplication.h b/src/3rdparty/qtsingleapplication/qtsingleapplication.h index 384a71ce8..2c203d414 100644 --- a/src/3rdparty/qtsingleapplication/qtsingleapplication.h +++ b/src/3rdparty/qtsingleapplication/qtsingleapplication.h @@ -44,7 +44,7 @@ class QtSingleApplication : public QApplication public: QtSingleApplication(const QString &id, int &argc, char **argv); - ~QtSingleApplication(); + ~QtSingleApplication() override; bool isRunning(qint64 pid = -1); |