I am using a QTableView
and when I enable sorting using the setSortingEnabled
there is an immediate call to the sortByColumn()
, but I do not want this as this sorts my table by default 1st column.
- I want just to enable sorting and not to force sorting when enabling
- Is there a way to avoid the
sortByColumn()
call? - Or how can I overwrite the
sortByColumn()
method and prevent the sorting there?