set QObject::connect to use DirectConnection