Simplify a few connects and disconnects
Replace complicated function pointer casts with simple lambdas or the QOverload helper.