From c65cdada4836f01fe920b09c7fc861cb70c09ac7 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 1 Mar 2016 20:01:14 +0100 Subject: [PATCH] Fix inconsistent use of override in NickListWidget Clang warns about this. (cherry picked from commit 7ad7c792cae055a6549916ad190d6c8479bf674e) --- src/qtui/nicklistwidget.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/qtui/nicklistwidget.h b/src/qtui/nicklistwidget.h index 1b7253f7..e73f6e2a 100644 --- a/src/qtui/nicklistwidget.h +++ b/src/qtui/nicklistwidget.h @@ -48,13 +48,13 @@ signals: void nickSelectionChanged(const QModelIndexList &); protected: - virtual QSize sizeHint() const; - virtual void hideEvent(QHideEvent *); - virtual void showEvent(QShowEvent *); + QSize sizeHint() const override; + void hideEvent(QHideEvent *) override; + void showEvent(QShowEvent *) override; protected slots: - virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous); - virtual void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); + void currentChanged(const QModelIndex ¤t, const QModelIndex &previous) override; + void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end) override; private slots: void removeBuffer(BufferId bufferId); -- 2.20.1