tst_qxmlinputsource: fix C++20-deprecated implicit [=]-capture of this


The variables are all members, so just capture [this].

As a drive-by, fix clazy-connect-3arg-lambda, and remove superfluous
empty lambda argument list.

Pick-to: 6.4 6.3 6.2
Change-Id: I59d188b48d6566d886e8df960fea00e8eb41b3f4
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
commit189e3a842f76b517087c19f83bd4b050e1b34cb9
parent3db1bb149de659ed3b2f27291660c387386e827c
authorMarc Mutz <marc.mutz@qt.io>
committerMarc Mutz <marc.mutz@qt.io>
commit timeTue, 21 Jun 2022 14:03:50 +0200