Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
eedb9980c89e77e21e1336195930a148b6a2e712
Description
In: http://doc.qt.nokia.com/4.7/qml-image.html#status-prop
Snippet "Trigger a state change" :
State { name: 'loaded'; when: image.status = Image.Ready }
"image.status = Image.Ready" should be: "image.status == Image.Ready"
(I actually spent a couple of minutes wondering why it wasn't working... Seems like this mistake will continue to annoy programmers in C-like languages for the years to come...)