Skip to content
Commit 1831dac6 authored by Arjen Hiemstra's avatar Arjen Hiemstra
Browse files

HorizontalHeaderView: Read `sort` role to determine if we should show sorting

Since the header lacks API to set this, we need to come up with a
different solution. This was the most minimal that I could get it.
Behaviour now is, if there's no sort role or it explicitly returns
undefined, we don't show any sort indicator. If there is, it is assumed
to be `Qt::SortOrder` and we use it to show either the up or down arrow.
parent 804961f8
Pipeline #480908 passed with stage
in 1 minute and 33 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment