Silence warnings in map_mouse test


Qt 6's QML no longer supports implicit function parameters in signal
handlers, so declare them explicitly and use arrow-function syntax.

Pick-to: 6.2
Change-Id: I5ffc14b4140d78c4f1dcc51aa5ca8f2d4e38d1d5
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit57ce630439322d4a67e81253bb83c3d927d471b9
parent84ff68347de0591f810b82eef0a2f6da907edec1
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeTue, 30 Aug 2022 11:01:54 +0200