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 <volker.hilsheimer@qt.io>
(cherry picked from commit df834fde521419c9e0eedce703312a964aabf43a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2023-11-04 12:36:29 +01:00 committed by Qt Cherry-pick Bot
parent 7ea394eed6
commit dc109894d2

View File

@ -250,7 +250,7 @@ public:
if (type == QPlatformSurfaceEvent::SurfaceCreated) if (type == QPlatformSurfaceEvent::SurfaceCreated)
++surfaceCreatedEvents; ++surfaceCreatedEvents;
} }
return false; return QWindow::eventFilter(o, e);
} }
int surfaceCreatedEvents = 0; int surfaceCreatedEvents = 0;