diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2023-11-04 12:36:29 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2023-11-13 18:16:50 +0000 |
commit | df834fde521419c9e0eedce703312a964aabf43a (patch) | |
tree | a0e9bda6578f159652c717017b021c15ef5210f6 /tests/auto/gui/kernel/qwindow | |
parent | c22ff83b2a08d4fd2f40f9d78e8c41e5f47e51f2 (diff) |
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>
Diffstat (limited to 'tests/auto/gui/kernel/qwindow')
-rw-r--r-- | tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |