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 <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2023-11-04 12:36:29 +01:00 committed by Volker Hilsheimer
parent c22ff83b2a
commit df834fde52

View File

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