-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
5.6.0
-
None
Example from documentation:
ListView {
id: listview
width: 200; height: 200
snapMode: ListView.SnapOneItem
orientation: ListView.Horizontal
highlightRangeMode: ListView.StrictlyEnforceRange
model: CalendarModel {
from: new Date(2015, 0, 1)
to: new Date(2015, 11, 31)
}
delegate: MonthGrid {
width: listview.width
height: listview.height
month: model.month
year: model.year
}
}
The error appeared in runtime is: "QML AbstractMonthGrid: month 12 is out of range [0...11]"
- duplicates
-
QTBUG-51108 Invalid month index returned by model
-
- Closed
-