subsurface/qt-ui/profile
Dirk Hohndel 3063991e4e Fix bug in handling of fake SAMPLE_EVENT_PO2 events
In commit bcdd6192fe ("Show translated event names in tooltip") I was
too aggressive in replacing the checking for event names with checking for
event types. It turns out that we are abusing an existing event type in
the planner (and use a different event name to mark the difference). By
just checking for the type this now caused incorrect information to be
displayed in the info box (a simply "PO2 warning" on a Suunto D9 could
turn into a "Bailing out to OC" notice).

The correct fix is to get our own range of SAMPLE_EVENT_xxx numbers from
libdivecomputer. Once we have those, we can do this the right way. For now
we just fall back to also checking the event name (which is what I wanted
to get away from so translated names don't trip us up).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2014-05-05 09:32:13 -07:00
..
animationfunctions.cpp Change some references of QSettings to the pref struct. 2014-04-11 07:21:15 -07:00
animationfunctions.h Support Animation Speed via Settings. 2014-03-11 17:41:41 -07:00
divecartesianaxis.cpp Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
divecartesianaxis.h Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
diveeventitem.cpp Fix bug in handling of fake SAMPLE_EVENT_PO2 events 2014-05-05 09:32:13 -07:00
diveeventitem.h New profile: fix event hiding logic 2014-03-16 15:11:35 -07:00
divelineitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divelineitem.h Put include guard to every header 2014-02-11 12:37:01 -08:00
divepixmapitem.cpp Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divepixmapitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
diveplotdatamodel.cpp Removed Duplicate Includes 2014-03-20 09:52:24 -07:00
diveplotdatamodel.h Profile2: use unsigned int for the divecomputer number 2014-03-18 11:56:06 -07:00
diveprofileitem.cpp Renaming the prefs struct members to be consistent with the QSettings. 2014-04-16 13:09:55 -07:00
diveprofileitem.h Feature to show or hide heart rate graph 2014-04-10 09:21:43 -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 Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetextitem.h Massive automated whitespace cleanup 2014-02-27 20:09:57 -08:00
divetooltipitem.cpp New profile: fix Information overlay location 2014-03-13 10:28:15 -07:00
divetooltipitem.h Remove a Lot of Dead Code. 2014-03-07 08:56:06 -08:00
profilewidget2.cpp Make heartrate grid less confusing 2014-04-28 12:45:42 -07:00
profilewidget2.h Edit name option for bookmarks 2014-04-03 12:49:22 -07:00
ruleritem.cpp Ruler: fix bad scaling for the text background 2014-03-27 10:58:22 -07:00
ruleritem.h Ruler: change how the ruler text drawing works 2014-03-12 11:24:20 -07:00