I have a QDateEdit-dateChanged-signal connected to a model-class.
When i do change the date in the model-class from outside (open a file in my application) i call QDateEdit::setDate.
Which then emits the dateCahnged signal and calls the slot in my model-class - setting the date AGAIN (which the model-class just changed!)
Can i avoid this? For examle a QDateEdit::setDateWithoutSignals; or a possibility to temporaly disable the signals?
....or is the common way to just ignore this?
thanks,
niko
Bookmarks