What happened to the depth being shown on profile?

Tomaz Canabrava tcanabrava at kde.org
Wed Apr 20 11:32:42 PDT 2016


On Wed, Apr 20, 2016 at 3:00 PM, Dirk Hohndel <dirk at hohndel.org> wrote:

> On Wed, Apr 20, 2016 at 10:33:28AM -0700, Linus Torvalds wrote:
> > On Wed, Apr 20, 2016 at 10:26 AM, Dirk Hohndel <dirk at hohndel.org> wrote:
> > >
> > > Oh boy... that data structure, umm, does not lend itself well to
> copying.
> > > It interenally has pointers into itself. Yikes. I'll try to fix this.
> >
> > If it's just the min/max arrays, let me fix that for you. I'll make
> > them indices instead of pointers.
>
> That's it indeed. And your fix would be appreciated. Just make sure you
> also fix the "consumer" of this over in the profile widget code.
>

The consumer:

void DiveProfileItem::modelDataChanged(const QModelIndex &topLeft, const
QModelIndex &bottomRight)

line 227



>
> Thanks
>
> /D
> _______________________________________________
> subsurface mailing list
> subsurface at subsurface-divelog.org
> http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160420/c4eaf6fc/attachment.html>


More information about the subsurface mailing list