summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@sosco.com>2009-10-01 10:41:23 (GMT)
committerShane Kearns <shane.kearns@sosco.com>2009-10-01 10:43:32 (GMT)
commita7273386adb9399ecdc7b7c8f4b041099db042ef (patch)
tree2d0989705f411e43150fd289c72612f131658599 /doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp
parenta542c1c7f5f49b0b5feb85d6ea56155e0cec411b (diff)
downloadQt-a7273386adb9399ecdc7b7c8f4b041099db042ef.zip
Qt-a7273386adb9399ecdc7b7c8f4b041099db042ef.tar.gz
Qt-a7273386adb9399ecdc7b7c8f4b041099db042ef.tar.bz2
Fix crash in S60 input methods after task switching
When switching away from the application, the focused widget is set to null. When switching back, there are callbacks from S60 before the focus has been restored. These functions check for null widget, but the output function parameters are left uninitialised, which causes a crash inside the S60 FEP. 1) GetXYZ functions now initialise the output parameters even when the focused widget is null. 2) Return no input capability when there is no focused widget, as was already done during destruction. This stops most of the callbacks from S60. Task-number: QTBUG-4618 Reviewed-by: axis
Diffstat (limited to 'doc/src/snippets/code/src_xmlpatterns_api_qxmlresultitems.cpp')
0 files changed, 0 insertions, 0 deletions