Remove a few redundant occurrences of 'virtual' and 'override'

warning: 'virtual' is redundant since the function is already declared
'override' [modernize-use-override]

warning: 'override' is redundant since the function is already declared
'final' [modernize-use-override]

Change-Id: I9036a0dc88ed70c4f6e37b916bb24ff65074863d
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2018-06-15 19:26:02 +02:00
parent acb611c8cf
commit b16ba2ba59
5 changed files with 17 additions and 16 deletions

View File

@@ -66,7 +66,7 @@ public:
signals:
void contextMenuRequested(const QPoint &pos, int index);
protected:
bool eventFilter(QObject *object, QEvent *event) override final;
bool eventFilter(QObject *object, QEvent *event) final;
private:
int m_tabIndexForMiddleClick = -1;
};
@@ -112,7 +112,7 @@ class ComboBox : public QComboBox
{
Q_OBJECT
public:
void showPopup() override final;
void showPopup() final;
signals:
void opened();
};