summaryrefslogtreecommitdiff
path: root/doc/src/snippets/code/doc_src_examples_imageviewer.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2011-10-11 15:51:58 +0100
committerShane Kearns <shane.kearns@accenture.com>2011-10-11 15:51:58 +0100
commitc47cd8f01ea5d3f2a6d0ea73572d9735947919a0 (patch)
treeaac4814b83935c363d260697889b4dfa7fc59933 /doc/src/snippets/code/doc_src_examples_imageviewer.cpp
parentdde0a87329a9e48f82c16c383a42ce42c5422351 (diff)
downloadqt4-tools-c47cd8f01ea5d3f2a6d0ea73572d9735947919a0.tar.gz
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 'doc/src/snippets/code/doc_src_examples_imageviewer.cpp')
0 files changed, 0 insertions, 0 deletions