Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.6.2, 5.15.2
-
None
Description
Please see
https://lists.qt-project.org/pipermail/qt-interest-old/2010-April/022513.html
The poster says:
"However, deleting a QObject with:
someObj->deleteLater();
and then doing:
qApp->sendPostedEvents();
does not result in 'someObj' being deleted. For that to happen, I have to explicitly call:
qApp->sendPostedEvents(0, QEvent::DeferredDelete);
Is this a bug or expected behavior?"
I am seeing this problem still today. The OP's question was never answered.
I am re-posting the question to seek an answer.
Calling sendPostedEvents() with default arguments should work, no?
Is it a bug?