<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 3:00 PM, Dirk Hohndel <span dir="ltr"><<a href="mailto:dirk@hohndel.org" target="_blank">dirk@hohndel.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="">On Wed, Apr 20, 2016 at 10:33:28AM -0700, Linus Torvalds wrote:<br>
> On Wed, Apr 20, 2016 at 10:26 AM, Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
> ><br>
> > Oh boy... that data structure, umm, does not lend itself well to copying.<br>
> > It interenally has pointers into itself. Yikes. I'll try to fix this.<br>
><br>
> If it's just the min/max arrays, let me fix that for you. I'll make<br>
> them indices instead of pointers.<br>
<br>
</span>That's it indeed. And your fix would be appreciated. Just make sure you<br>
also fix the "consumer" of this over in the profile widget code.<br></blockquote><div><br>The consumer: <br><br><span dir="ltr" style="text-align:left" id=":ge.co" class="">void DiveProfileItem::modelDataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight)<br><br></span><div id=":gg.ma" class=""><span dir="ltr" style="text-align:left" id=":gf.co" class="">line 227</span><span dir="ltr" style="text-align:left" id=":gg.co" class=""> <br><br></span></div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks<br>
<span class=""><font color="#888888"><br>
/D<br>
</font></span><div class=""><div class="h5">_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</div></div></blockquote></div><br></div></div>