Sume help regarding the Add Dive diveplan creation.
tcanabrava at kde.org
Tue Dec 3 17:20:02 UTC 2013
I was trying to debug the strange bug that happens when you:
1 - create a new dive from the dive - plan dialog ( accept the default,
2 - things get correctly plotted on the profile - good.
3 - click on 'edit' on the scene button ( the penguin )
4 - the profile gets correctly plotted but the time - ruler 'maximum' is 30
( instead of the 50 that it should be. )
I'v tracked it down to
dp = dp->next;
The result of qDebug() << dp->time is as follows
( the 5 in the beginning and in the end )
I'v checked the code that loads the data from the Dive and it seemed right
( no wrong values on the DivePlannerModel. )
the code that creates the wrong and faulty diveplan:
diveplanner.cpp line 483
I'd appreciate some help, a bit lost ( and it's almost midnight )
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the subsurface