forked from qt-creator/qt-creator
Use C++11’s override and remove virtual where applicable
Fixes warning: prefer using 'override' or (rarely) 'final' instead of 'virtual' [modernize-use-override] Change-Id: I4b8b8ecce028dfd051fe14984b40115e92057a40 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -85,7 +85,7 @@ class FancyLineEditPrivate : public QObject
|
||||
public:
|
||||
explicit FancyLineEditPrivate(FancyLineEdit *parent);
|
||||
|
||||
virtual bool eventFilter(QObject *obj, QEvent *event);
|
||||
bool eventFilter(QObject *obj, QEvent *event) override;
|
||||
|
||||
FancyLineEdit *m_lineEdit;
|
||||
IconButton *m_iconbutton[2];
|
||||
|
||||
Reference in New Issue
Block a user