summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/API/JSBase.h
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-06-12 19:05:17 (GMT)
committerAlessandro Portale <aportale@trolltech.com>2009-06-12 19:05:17 (GMT)
commit1a97bc5091f8b302940b7cc8eb1dbb55c3411d64 (patch)
tree9ad3d0a4c7119f8e587692d100866f2a7ff47ed0 /src/3rdparty/webkit/JavaScriptCore/API/JSBase.h
parent43c2996c4ffea74776de26defa277b0a886d15c1 (diff)
downloadQt-1a97bc5091f8b302940b7cc8eb1dbb55c3411d64.zip
Qt-1a97bc5091f8b302940b7cc8eb1dbb55c3411d64.tar.gz
Qt-1a97bc5091f8b302940b7cc8eb1dbb55c3411d64.tar.bz2
Crash fix for task #255989
Hold a QPointer to the widget with the context menu. After the menu pops up, the focussed widget looses focus and may be deleted (like it happens in this case with the item editor). Testing for isNull() instead of crashing. It would be great to not even add the "Action" entry to the system menu but in that moment we don't know that the current focuswidget will soon disappear. That's still a Todo.
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/API/JSBase.h')
0 files changed, 0 insertions, 0 deletions