Fixing clazy's 'connect-3arg-lambda' warning
Using four-argument version of QObject::connect with lambdas.