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?
Printable View
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?
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.