On Wed, Apr 20, 2016 at 3:00 PM, Dirk Hohndel <[email protected]> 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 <[email protected]> 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 > [email protected] > http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface >
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
