The result of QTest::createTouchScreen() needs to be deleted by the caller, and this test didn't do that. To fix, put the object into a unique_ptr. Amends 982b70d37db337b2c57a3cfce0f24c3d00a598d6, though the code it replaced seems to have had the same problem. Pick-to: 6.8 6.5 5.15 Change-Id: I361a0b37b717ac543b003fb48a4a6934b6d79a03 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit e9a7c4a224a5859fb954b149ea0a0d3b0e4ada13) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%