PDA

View Full Version : How to avoid to repeat a connection



Auryn
8th July 2009, 15:23
I have a typical connection between one signal and one slot.

Does exist some way to verify if the connection already is made to avoid to define it several times?

nish
8th July 2009, 15:47
i dont remember any direct way.. but you can always store a flag and check it before connecting.. or you can always disconnect before connecting.