Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, May 2008
QItemSelectionModel::selectedRows() in Qt 4.4


Message 1 in thread

In Qt 4.4 I have encountered the following trouble.

QItemSelectionModel::selectedRows() returns something incredible. For example, when index(2,0) is selected, the mentioned method returns list, which contains index(23426768, 0).

 

The model is QStandardItemModel, the view is QTreeView, and the selection model is standard (created by view).

Can somebody reproduce such a bug?

 

Thanks,

Anton.