diff options
author | Shane Kearns <shane.kearns@accenture.com> | 2011-10-11 14:51:58 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@accenture.com> | 2011-10-11 14:51:58 (GMT) |
commit | c47cd8f01ea5d3f2a6d0ea73572d9735947919a0 (patch) | |
tree | aac4814b83935c363d260697889b4dfa7fc59933 /tests/auto/qpolygon | |
parent | dde0a87329a9e48f82c16c383a42ce42c5422351 (diff) | |
download | Qt-c47cd8f01ea5d3f2a6d0ea73572d9735947919a0.zip Qt-c47cd8f01ea5d3f2a6d0ea73572d9735947919a0.tar.gz Qt-c47cd8f01ea5d3f2a6d0ea73572d9735947919a0.tar.bz2 |
Symbian - fix deleteLater not working from RunL
deleteLater stores the loop level in the deferred delete event to
prevent the object being deleted by a nested event loop.
However as symbian active object RunL functions are called directly
from the active scheduler, the loop level is incorrect at that point.
(It is normally set by QCoreApplication::notifyInternal)
To solve this, the loop level is adjusted before calling RunIfReady
so that it is correct during RunL functions. It is then adjusted back
for the specific active objects in the event dispatcher that call
into QCoreApplication - sendPostedEvents, sendEvent.
Task-number: QTBUG-21928
Reviewed-by: mread
Diffstat (limited to 'tests/auto/qpolygon')
0 files changed, 0 insertions, 0 deletions