From: Manuel Nickschas Date: Tue, 1 Mar 2016 19:01:14 +0000 (+0100) Subject: Fix inconsistent use of override in NickListWidget X-Git-Tag: travis-deploy-test~508 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=7ad7c792cae055a6549916ad190d6c8479bf674e;ds=sidebyside Fix inconsistent use of override in NickListWidget Clang warns about this. --- diff --git a/src/qtui/nicklistwidget.h b/src/qtui/nicklistwidget.h index 84fc4325..c2a626e8 100644 --- a/src/qtui/nicklistwidget.h +++ b/src/qtui/nicklistwidget.h @@ -49,13 +49,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);