Remove implicit capture of this with [=]


Implicit capture of this via [=] is deprecated in C++20.

This patch avoids the compiler warning
tst_qhttpserver.cpp:488:34: warning: implicit capture of ‘this’
via ‘[=]’ is deprecated in C++20 [-Wdeprecated]
  488 |         return QtConcurrent::run([=]() {

Amends: 7c6ff5fab95bca52932649adadc67751eb351a54

Pick-to: 6.9 6.8
Change-Id: Id8467dc58fbabe1f36dec894ee101ef5853b4c73
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Øystein Heskestad <oystein.heskestad@qt.io>
commit1e434233831ca4cdb9c27d6139e5465983abb902
parentf1fdde72a66e1f1239d90d91f6033db50c87a8b9
authorMatthias Rauter <matthias.rauter@qt.io>
committerMatthias Rauter <matthias.rauter@qt.io>
commit timeWed, 2 Apr 2025 09:02:49 +0200