diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index 10e0d450b9..674eb3f472 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -2615,7 +2615,7 @@ void tst_QWindow::activateDeactivateEvent() int activateCount = 0; int deactivateCount = 0; protected: - bool event(QEvent *e) + bool event(QEvent *e) override { switch (e->type()) { case QEvent::WindowActivate: