[Qt-interest] Item moves in tree models

Stephen Kelly steveire at gmail.com
Sat Oct 9 14:12:05 CEST 2010


Pavel Lebedev wrote:

> Hi, I've been trying to implement item moving in a tree item model with
> QAbstractItemModel::beginMoveRows()/endMoveRows(), but haven't been able
> to figure out why a rather simple case is failing. Here's a minimal
> example:

Looks like fe350ca756df6392b3d0b7840351fccc89f9ef6f didn't fix the whole 
problem.

I have a fix. I'll try to figure out why the tests didn't fail and get the 
fix into 4.7.x.

All the best,

Steve.

> Thanks in advance.
> 
> Pavel





More information about the Qt-interest-old mailing list