subsurface/qt-ui/profile
Dirk Hohndel 74616cdddf Rename event: correctly replace event with new one
I don't like that the event structure includes the variable length array.
That really makes it a pain to change the name of an event (on the flip
side, freeing events is easier I guess).

Anyway, to correctly rename an event we need to actually remove the event
from the correct dc and then add a new event with the new name. The
previous code was insane (it only worked if the new name was of smaller or
equal length, otherwise it had a beautiful buffer overflow).

And of course we need to do this both for the current_dive and the
displayed_dive.

Fixes #616

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-07-12 12:56:03 -07:00
..
animationfunctions.cpp Correctly disable all animations 2014-07-11 17:00:40 -07:00
animationfunctions.h Add a scaleTo animation 2014-06-08 12:42:51 -07:00
divecartesianaxis.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divecartesianaxis.h Speed up the grid: don't repaint when uneeded. 2014-05-26 14:07:48 -07:00
diveeventitem.cpp Use different gas change icons 2014-07-10 12:37:54 -07:00
diveeventitem.h New profile: fix event hiding logic 2014-03-16 15:11:35 -07:00
divelineitem.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divelineitem.h Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divepixmapitem.cpp Show/Hide pictures working. 2014-07-10 19:59:54 -07:00
divepixmapitem.h Show/Hide pictures working. 2014-07-10 19:59:54 -07:00
diveplotdatamodel.cpp profile capitalisation 2014-07-11 10:44:41 -07:00
diveplotdatamodel.h UI restructure: don't use random dives from the divelist for data 2014-07-03 14:43:32 -07:00
diveprofileitem.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
diveprofileitem.h Rename two C++ methods to the more typical CamelCase 2014-06-01 21:02:42 -07:00
diverectitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diverectitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.cpp Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divetextitem.h Code cleanup: removed bogus animation functions 2014-07-11 17:01:12 -07:00
divetooltipitem.cpp Fixe movement of DiveHandlers when moving the NotificationArea 2014-05-24 07:30:36 -07:00
divetooltipitem.h Fixe movement of DiveHandlers when moving the NotificationArea 2014-05-24 07:30:36 -07:00
profilewidget2.cpp Rename event: correctly replace event with new one 2014-07-12 12:56:03 -07:00
profilewidget2.h Printing: scale fonts when printing 2014-07-09 13:12:29 -07:00
ruleritem.cpp Simplify ruler update code. 2014-06-01 15:42:32 -07:00
ruleritem.h Simplify ruler update code. 2014-06-01 15:42:32 -07:00