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