aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/context2d/qquickcanvasitem.cpp
diff options
context:
space:
mode:
authorFilipe Azevedo <filipe.azevedo@kdab.com>2016-05-02 13:11:26 +0200
committerFilipe Azevedo <filipe.azevedo@kdab.com>2016-05-23 14:01:42 +0000
commit82b0b31fe47a6a54c500f2cbea45b37fc28f3bee (patch)
treecb5b2c47e68642db59f93fda2195e997aa90a1af /src/quick/items/context2d/qquickcanvasitem.cpp
parente7da97bf71108a0acd72629e383f884e2d756477 (diff)
Fix crash for unknown QQmlListModel roles in debug builds
If a role is unknown, trying to access it will crash in getExistingRole. Fixed that and now return QVariant() for unknown roles. Change-Id: Iad5c1292a4faee893fbc5a69984cf776aca85d70 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/quick/items/context2d/qquickcanvasitem.cpp')
0 files changed, 0 insertions, 0 deletions