Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.0
-
0fef848468fdf2fb38670a40c593a2b8f20830a6 (qt/qtdeclarative/dev)
Description
When passing a QList of enum values to QML then they are passed as objects. The values are correct so checking with == indicates that the value is as expected. But with === it fails because the types are different.
Attachments
For Gerrit Dashboard: QTBUG-85861 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
347655,7 | qv4engine: Fix enums getting turned into objects when passed in lists | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |