summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/doc_src_qtscript.js
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-07-18 08:53:06 (GMT)
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-07-18 10:08:18 (GMT)
commit4e910f7d00dc3a08a2ac8578ecc8e0284b407bb9 (patch)
tree7d28e120ce3c700cfe5baa9522a007b1408f53b2 /doc/src/snippets/code/doc_src_qtscript.js
parentb05a513e1427dacc4c3de1b6d507616764248b96 (diff)
downloadQt-4e910f7d00dc3a08a2ac8578ecc8e0284b407bb9.zip
Qt-4e910f7d00dc3a08a2ac8578ecc8e0284b407bb9.tar.gz
Qt-4e910f7d00dc3a08a2ac8578ecc8e0284b407bb9.tar.bz2
Avoid crash when surface creation fails.
When the creation of the EGL window surface failed, the paint engine was not destroyed in the openvg module's window surface implementation. This led to accessing an obsolete engine instance later on in QSymbianControl::Draw, leading to a crash. Now a new, proper engine will be created, naturally the painting will still fail, but the application will not crash. Task-number: QTBUG-20339 Reviewed-by: Jani Hautakangas
Diffstat (limited to 'doc/src/snippets/code/doc_src_qtscript.js')
0 files changed, 0 insertions, 0 deletions