Fix incorrect signal/slot connections.