I made a mistake in #153 when I decided to change the header data to explicitly return an invalid QModelIndex, rather than the invalid data from the base class. I meant to return an invalid QVariant, which is what our other data implementations and official Qt models do. This caused a regression where none of the headers in any of our views are currently showing.
I made a mistake in #153 when I decided to change the header data to explicitly return an invalid QModelIndex, rather than the invalid data from the base class. I meant to return an invalid QVariant, which is what our other data implementations and official Qt models do. This caused a regression where none of the headers in any of our views are currently showing.