AntiPattern
Dangling Lambda Capture
dangling-lambda-reference-capture
Lambda callbacks capture local variables by reference and outlive their scope, so Qt signal handlers later read freed memory, causing access violations; fixing it requires safe ownership (copy/move) or capturing a lifetime-valid object.