diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index 5fa84b31eed..02907110694 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -250,7 +250,7 @@ public: if (type == QPlatformSurfaceEvent::SurfaceCreated) ++surfaceCreatedEvents; } - return false; + return QWindow::eventFilter(o, e); } int surfaceCreatedEvents = 0;