aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChris Adams <christopher.adams@nokia.com>2012-05-25 17:23:42 +1000
committerQt by Nokia <qt-info@nokia.com>2012-05-28 02:42:55 +0200
commitf62ab0a3dfaa873bb15cd1526f98f50a17228a9c (patch)
tree483c980f2d17eca24438e47e097bf1034d916daa /tools
parent1deba22774e59458dc2e485f1cdf8f5b547d2941 (diff)
Fix crash caused by unregistered enum types
If the enum type isn't registered with Q_ENUMS, the metatype lookup fails, which results in a crash in certain circumstances. This commit ensures that when assigning an undefined value to an unregistered-enum-type property, no crash occurs. Change-Id: I0b539b591c9c9d6262c748300e4f4b6813d4f9a6 Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions