Stack overflow error with signal & slots
I am not sure why this is blowing the stack, how can I correct this code?
VRonin last edited by VRonin
textEdited()signal instead of
The explanation of why you are having this is that when you call
textChanged()signal is emitted and so on to infinity (or up to the limit of the size of the stack that then goes overflow)
@VRonin awesome, I realized I now why I was causing a new event to get fired, thanks!
@mrjj I didn't know about this handy debug helper, thanks for pointing it out :)
yes qDebug() is super
most Qt classes have overloaded << for it
qDebug() << "info:" << someqtobject ;
works really well :)
Even lists etc.