Hi!
I have looked around the forum and can't find any topics about this, so either its simple to do it or I have missed it...
I have a QTreeView and a custom model and want to deselect all items in the view without emitting a signal. The reason for this is that I have slots reacting to the signals of
changes in the selection ( QitemSelectionModel::selectionChanged(selected,des electted) ) which mess things upp when I use QTreeView::clearSelection().
I've also tried QItemSelectionModel::reset(), but I can't make it do anything. The view doesn't change and there doesn't seem like anything is deselected...
/pir
Bookmarks