QTreeView::setFirstColumnSpanned() for all attached views of a model
-
The user can insert an item in a QAbstractItemModel (beginInsertRows and so on). Now I would like to call setFirstColumnSpanned() on all attached views (depending on some type of inserted item).
How can I run some code on all attached views or is there some different approach?
Thank you!
Thomas -
[quote author="Chris Kawa" date="1417438027"]
There's no need to do anything that radical.
[/quote]
Ok, this one is working.
But what about
https://bugreports.qt-project.org/browse/QTBUG-31384
This is happening in my case too.Thanks again,
Thomas