Fix another assert in Qt 5.4 on connections to a slot object.