Details
Description
An app crash happens when you try to modfy table model from backgroun thread while having a HorizontalHeaderView synced to it.
For the demo please run https://github.com/mchistovib/brokenQMLThrAffCPP
As you can see, when pressing "add rows other thread", app crashes, however if you just comment out "syncView: tableView" line, it runs fine and succesfully adds rows to the table.
I am sure that this is a qt bug in HorizontalHeaderView, otherwise it would also happen with model that has no synced header