summaryrefslogtreecommitdiffstats
path: root/examples/quick/dialogs/systemdialogs/main.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@digia.com>2014-02-05 13:57:21 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-05 15:01:22 +0100
commitdd943068879770b932584792cc0c24b892c56ada (patch)
tree2effb8b1a7296b83181ef6f19ae3d496795d9829 /examples/quick/dialogs/systemdialogs/main.cpp
parent47d9329c57ef2f4e1ae0a16db426161cf88a2550 (diff)
MenuItem: use queued connection to trigger() - avoid deletion crash
If a ListView's delegate launches a context menu which deletes the corresponding model item, the MouseArea which launched the context menu gets deleted while handling an event. That is not allowed, so a mechanism is necessary to postpone the deletion. This works for now. Task-number: QTBUG-36653 Change-Id: Idb78ddb830f229e2006f53fc993f1aee8fb2dc15 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'examples/quick/dialogs/systemdialogs/main.cpp')
0 files changed, 0 insertions, 0 deletions