Add override

Change-Id: Iafa8e21d7d47797c1c085aced9a0cd92179385a2
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
Albert Astals Cid 2018-01-10 14:42:44 +01:00
parent e82e8b8a1f
commit 1df2906c75

View File

@ -108,7 +108,7 @@ public Q_SLOTS:
}
protected:
bool event(QEvent *event)
bool event(QEvent *event) override
{
if (event->type() == QEvent::MetaCall) {
auto metaCallEvent = static_cast<QMetaCallEvent *>(event);