[Qt-interest] selectedRows broken in 4.5.0?

Andreas Pakulat apaku at gmx.de
Thu Mar 12 11:59:47 CET 2009


On 12.03.09 10:22:05, Acenes wrote:
> 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.

Works fine for me, what signal(s) do you use to get notified when a row is
being selected?

Andreas

-- 
A long-forgotten loved one will appear soon.

Buy the negatives at any price.



More information about the Qt-interest-old mailing list