forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user