Question about QObject::disconnect
-
Hi everyone,
just a quick question about
QObject::disconnectbecause I'm not sure how the behaviour will be.If I call disconnect on a
QMetaObject::Connectionis it fair to assume, that all queued up signals to that slot will be droped? -
Hi everyone,
just a quick question about
QObject::disconnectbecause I'm not sure how the behaviour will be.If I call disconnect on a
QMetaObject::Connectionis it fair to assume, that all queued up signals to that slot will be droped?@J.Hilk
Hi.
https://woboq.com/blog/how-qt-signals-slots-work-part3-queuedconnection.html
It looks that signals that are validly received and queued will only be removed from the queue by being handled, which seems reasonable.