From df834fde521419c9e0eedce703312a964aabf43a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Sat, 4 Nov 2023 12:36:29 +0100 Subject: tst_QWindow::setVisibleThenCreate(): Fix unused argument warning Use the arguments to call the parent class implementation. Pick-to: 6.5 6.6 Change-Id: I602a66447fb8681b3ec9ef8e2e281828612d178c Reviewed-by: Volker Hilsheimer --- tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/gui/kernel/qwindow') diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index c2cb5b2485..51d2231271 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; -- cgit v1.2.3