[Qgis-developer] Need help with LayerTreeModel (legend node)

Sandro Santilli strk at keybit.net
Mon Dec 22 07:14:41 PST 2014


On Mon, Dec 22, 2014 at 03:21:31PM +0100, Sandro Santilli wrote:
> On Sun, Dec 21, 2014 at 08:46:01PM +0700, Martin Dobias wrote:
> > On Fri, Dec 19, 2014 at 10:58 PM, Sandro Santilli <strk at keybit.net> wrote:
> > >
> > >
> > > Confirmed. I've added a QTreeView and it has the same issue.
> > > Unfortunately, the model tester did not catch any issue, beside the
> > > already-reported one which I fixed in master already.
> > >
> > 
> > AFAIK model tester is not meant to discover this kind of issues. It is
> > mainly used to confirm that model implements the virtual methods like
> > index(), parent() according to the expectations of views. Your problem just
> > seems to be related to a missing dataChanged() signal when there should be
> > one...
> 
> I've actually just got a report from the ModelTester in master, which seems
> related to rows insertion notification:

For the record, I filed a ticket about this here:
http://hub.qgis.org/issues/11905

--strk;

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html


More information about the Qgis-developer mailing list