qt5base-lts/tests/auto/other/gestures
Marc Mutz 05a38c05f7 tst_Gestures: fix -Wdangling-else GCC warning
... and do a local code cleanup:

- add override
- port from foreach to C++11 ranged for loop
- remove dead code (`gestureEvent` (née event) was already
  dereferenced when we check it for null'ness, so it cannot be
  nullptr, so the condition is always true).

Pick-to: 5.15
Change-Id: Ica5e34fbe65c95f6573630f188582b90be15c8f7
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-04-29 08:10:36 +00:00
..
BLACKLIST unblacklist passing tests 2019-07-08 11:01:42 +00:00
CMakeLists.txt Convert tests/auto/other 2019-10-28 12:19:50 +00:00
gestures.pro autotests: use QTest::createTouchDevice() 2016-06-10 13:07:17 +00:00
tst_gestures.cpp tst_Gestures: fix -Wdangling-else GCC warning 2020-04-29 08:10:36 +00:00