Hi, On Mon, Jun 25, 2012 at 11:59 PM, Eric Clark <ecl...@ara.com> wrote:
> Thanks Andreas! I know it doesn’t exactly answer my question, but you > are right, I can easily check this and I probably should just do the right > thing anyway and delete it. However, this suggestion:**** > > ** ** > > Or you could make sure the selection model is set before the model, so > that no default-selection-model is created at all**** > > ** ** > > I am curious about this because according to the Qt documentation on > QAbstractItemView::setSelectionModel this would not work. Maybe I am > misreading what it says though. Here is what it reads:**** > > ** ** > > Note that, if you call > setModel<http://doc.trolltech.com/4.7/qabstractitemview.html#setModel>() > after this function, the given *selectionModel* will be replaced by one > created by the view.**** > > ** ** > > Do you think I am not reading this incorrectly? > No, you're reading it correctly, I was making up things - or rather mis-remembering and not checking the docs :) Andreas
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest