From dc109894d267d793de42271b65fa3b0cd33a6d86 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: [PATCH] tst_QWindow::setVisibleThenCreate(): Fix unused argument warning Use the arguments to call the parent class implementation. Pick-to: 6.5 Change-Id: I602a66447fb8681b3ec9ef8e2e281828612d178c Reviewed-by: Volker Hilsheimer (cherry picked from commit df834fde521419c9e0eedce703312a964aabf43a) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;