summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2021-06-30 13:57:55 +0200
committerMarc Mutz <marc.mutz@kdab.com>2021-06-30 23:13:27 +0200
commit7a01e4440494697a7f426c9b7412580fbea01add (patch)
tree8643b45a6cdd4fb62fdd6dd0517d2f52037b0bac
parentd16ee17a39252e06bf3bef08d80b0d116c473ba1 (diff)
tst_QWindow: fix -Wsuggested-override
Change-Id: I9e6eb0a4e0a64146d3c733c8cf34530a2cca5c4b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--tests/auto/gui/kernel/qwindow/tst_qwindow.cpp2
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 10e0d450b9..674eb3f472 100644
--- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
+++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp
@@ -2615,7 +2615,7 @@ void tst_QWindow::activateDeactivateEvent()
int activateCount = 0;
int deactivateCount = 0;
protected:
- bool event(QEvent *e)
+ bool event(QEvent *e) override
{
switch (e->type()) {
case QEvent::WindowActivate: