Added Qt::UniqueConnection, which ensures that the slot cannot be
connected to multiple times.