[forms] Avoid implicit capture of 'this'

This is deprecated in C++20 and thus leads to lots of warnings.

Merge request reports

Loading