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:
Alessandro Portale
2018-06-22 15:08:09 +02:00
parent cd45ce5f39
commit caff9f9aac
6 changed files with 13 additions and 13 deletions

View File

@@ -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];