[Qt-interest] selectedRows broken in 4.5.0?

Acenes acenes at gmx.net
Thu Mar 12 10:22:05 CET 2009


I have a QTableView with two columns, one visible and one hidden. It is 
initialized as

    setSelectionMode(QAbstractItemView::ExtendedSelection);
    setSelectionBehavior(QAbstractItemView::SelectRows);

Whe a row is selected then

    selectionModel()->selectedRows()

returns a list with one row in 4.4.3, while in 4.5.0 it will return an empty 
list.

Is this change in behaviour intended, e.g. was it "broken" before and is 
"fixed" now or is it vice versa and should be reported as a bug?






More information about the Qt-interest-old mailing list