Comment 4 for bug 1358275

Revision history for this message
James Henstridge (jamesh) wrote :

Aha. I think I've got it. In your merge proposal you have:

+ // FIXME: use allSongsModel.status === allSongsModel.Ready when lp:1358275 is resolved

If you were using that particular expression, then things wouldn't work because allSongsModel.Ready is not the same as SongsModel.Ready.

The constants are only accessible on the class and not instances of the class, so "allSongsModel.Ready" is the undefined value, and will never be equal to allSongsModel.status. This seems to be common for all classes exposing enumerations to QML.

Does that sound like a plausible explanation of what you're encountering?