diff options
author | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-10-19 16:41:57 +0200 |
---|---|---|
committer | Albert Astals Cid <albert.astals.cid@kdab.com> | 2018-10-23 10:52:17 +0000 |
commit | ff11568f37999c62e7683b1c21861be63f14567c (patch) | |
tree | bfe0a1bbcdaf423abb96998256b38b89b0f213db /src/qml/qml | |
parent | aabf4e4f0474d8d6eb065fbab700432718070ae0 (diff) |
QQuickStateGroup: Warn if two states have the same name
Otherwise it is silently ignored and given that we change
states by name i think it's a thing the user would want
to know that he made such a mistake, i know i would
since i just lost some time figuring out why changes i made
to a state didn't apply and it was because i had a duplicate
state name in a long states definition
Change-Id: I342e44829f7d32daf6eed0edad33f5b7a42ff5bf
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml')
0 files changed, 0 insertions, 0 deletions