Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11.1
-
a4cc61fc30cb7dff15bf7ae2ff064530b40d72c5 (qt/qtlocation/5.12)
Description
The example given at http://doc.qt.io/qt-5/qml-qtlocation-categorymodel.html#details will not display anything by default. Instead, the update() method must be called (e.g. Component.onCompleted: update() must be added to the CategoryModel). This is unintuitive, and undocumented.
Ideally, update() should not need to be called in this simple usecase (note: it appears this behavior was introduced in 72dd61d45aa05512d66eb154df150cb20b35ba8f). If it isn't possible to improve, this behavior should at minimum be documented.
Attachments
For Gerrit Dashboard: QTBUG-70254 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
244715,6 | Improve the initialization behavior of CategoryModel | 5.12 | qt/qtlocation | Status: MERGED | +2 | 0 |