summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/WebCore/generated/JSJavaScriptCallFrame.h
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@collabora.co.uk>2011-05-05 08:49:59 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-05-05 08:49:59 (GMT)
commit124ec3200f8453142717fcfe7a4aa0a55164aaa6 (patch)
tree4748b83c5941cd5c839f8e3423b384015e8ffe2f /src/3rdparty/webkit/WebCore/generated/JSJavaScriptCallFrame.h
parent4237c59dba78d80be165ae8dd1691abfc61503b1 (diff)
downloadQt-124ec3200f8453142717fcfe7a4aa0a55164aaa6.zip
Qt-124ec3200f8453142717fcfe7a4aa0a55164aaa6.tar.gz
Qt-124ec3200f8453142717fcfe7a4aa0a55164aaa6.tar.bz2
Ensure that QDateTimeEdit::calendarWidget() will always return a valid widget.
This case may be triggered in the (admittedly slightly abnormal) case where a user wishes to embed the calendar widget in a layout or, for whatever reason, do something else that will change its ownership. We work around this by detecting when it is deleted and recreating the widget. This will also have a positive side effect if setCalendarWidget() is called with a widget which is then subsequently deleted, returning the default widget instead of a pointer to (now deleted) memory. Reviewed-by: Denis Dzyubenko Merge-request: 2568 Reviewed-by: Denis Dzyubenko <denis.dzyubenko@nokia.com>
Diffstat (limited to 'src/3rdparty/webkit/WebCore/generated/JSJavaScriptCallFrame.h')
0 files changed, 0 insertions, 0 deletions