Add missing 'override' specifier

This fixes clang warning:
'notify' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
This commit is contained in:
Chocobo1
2018-03-06 23:41:18 +08:00
parent 7aa5bc4bc1
commit c60b7b213e
3 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ protected:
#ifdef Q_OS_MAC
bool event(QEvent *);
#endif
bool notify(QObject* receiver, QEvent* event);
bool notify(QObject* receiver, QEvent* event) override;
#endif
private slots: