Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.6
-
None
-
37d9f3d45 (dev), b2dc306e5 (6.8), c5c1d7736 (6.7), bc30fd0a1 (tqtc/lts-6.5), 3968ef865 (dev), 9ecc9131e (6.8), 303bd79ec (6.7), a544b5777 (tqtc/lts-6.5), f4bc018fa (dev), 4e4e8328c (6.8), 1b42a3405 (6.7), 60976b856 (tqtc/lts-6.5)
Description
The docs for VerticalHeaderView::model say
https://doc.qt.io/qt-6/qml-qtquick-controls-verticalheaderview.html#model-prop
If model is a QAbstractTableModel, its vertical headerData() will be accessed.
If model is a QAbstractItemModel other than QAbstractTableModel, model's data() will be accessed.
Not only this is a wrong behavior, but it seems, it's not the existing behavior at all? Are the docs stale?