subsurface/qt-ui/profile
Linus Torvalds 9a4cafd0f1 Fix gaschange tooltip information
The code tried to look up the cylinder index from the Qt data models,
which was not only horribly confusing, but was also buggy.  I think the
index ends up being off by one when the first cylinder change is hidden
(because it's at the beginning of the dive), but I can't make heads or
tails of that crazy code, so there might be something else going on.

Just remove all the crazy code, and use the event data directly.  Which
gas the gasmix and the (potential) explicit cylinder index already.
It's much more straightforward, and it just automatically gets the right
end result whether some other event is hidden or not.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-01-02 22:43:21 -08:00
..
animationfunctions.cpp Add a new 'show' Animation, and use it on the close button. 2014-07-30 14:15:09 -07:00
animationfunctions.h Add a new 'show' Animation, and use it on the close button. 2014-07-30 14:15:09 -07:00
divecartesianaxis.cpp Remove unused static function 2014-08-06 10:59:26 -07:00
divecartesianaxis.h Make the Axis set the changed flag when a new line is set 2014-07-29 15:33:00 -07:00
diveeventitem.cpp Fix gaschange tooltip information 2015-01-02 22:43:21 -08:00
diveeventitem.h Fix memleak on Pixmap cache 2014-11-14 13:45:54 -08: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 Move the Trash bin to the topRight on the pictures 2014-08-07 13:12:32 -07:00
divepixmapitem.h Delete pictures from the Widget by pressing delete 2014-08-06 18:32:28 -07:00
diveplotdatamodel.cpp Add the runnimg_sum data to the data model to be displayed on the profile 2014-12-30 16:12:15 -08:00
diveplotdatamodel.h Add the runnimg_sum data to the data model to be displayed on the profile 2014-12-30 16:12:15 -08:00
diveprofileitem.cpp Make the moving mean depth line a less obnoxious color 2015-01-01 16:43:30 -08:00
diveprofileitem.h Whitespace cleanup 2015-01-01 16:28:37 -08: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 Prevent leak by connecting object to its parrent 2014-12-18 07:22:24 -08:00
divetooltipitem.h Unify icon metrics 2014-10-18 15:16:15 -07:00
profilewidget2.cpp Whitespace cleanup 2015-01-01 16:28:37 -08:00
profilewidget2.h Whitespace cleanup 2015-01-01 16:28:37 -08:00
ruleritem.cpp Ruler: fix weird behaviour near x = 0 2014-11-17 21:04:27 +00:00
ruleritem.h Simplify ruler update code. 2014-06-01 15:42:32 -07:00
tankitem.cpp Free descriptions copied for TankItem 2014-12-18 08:34:00 -08:00
tankitem.h Free descriptions copied for TankItem 2014-12-18 08:34:00 -08:00