summaryrefslogtreecommitdiffstats
path: root/mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2012-11-27 13:54:51 (GMT)
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-28 12:29:35 (GMT)
commitb898c4ed69caec14d51a2be4fc44a4ed54a06c48 (patch)
tree20b57d6b569ab9102baf507cc54470a7d51917c0 /mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h
parentd8cbb158b7013fdf889657f6197eab1b972949be (diff)
downloadQt-b898c4ed69caec14d51a2be4fc44a4ed54a06c48.zip
Qt-b898c4ed69caec14d51a2be4fc44a4ed54a06c48.tar.gz
Qt-b898c4ed69caec14d51a2be4fc44a4ed54a06c48.tar.bz2
Prevent crashes after throwing an exception.
After bc3491c1b85ca36486c9472ecf7ba82f46699e8a, throwing an exception from a slot will cause the application to crash (segfault). This patch wraps the offending callFunction call in a try/catch block when QT_NO_EXCEPTIONS is defined, allowing the appropriate cleanup to occur and hence preventing the crash. Task-number: QTBUG-26825 Task-number: QTBUG-27548 Change-Id: Ia3a02398b0308b2216ad17f8f643745bd013fd50 Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Diffstat (limited to 'mkspecs/wince50standard-x86-msvc2005/qplatformdefs.h')
0 files changed, 0 insertions, 0 deletions