subsurface/profile-widget
Berthold Stoeger 7836a78dca Profile: minor coding style issues concerning axis-ticks
1) Fix the English of a comment.
2) Remove a number of int-to-double compares:

Make "steps" an integer variable (the number of steps).
Rename the old double "steps" variable to "stepsInRange". This gives
a non-integer number of steps and is necessary to calculate the
correct step size

3) Replace a "x = x/y" by a "x /= y" construct.

4) Remove an unnecessary if clause.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-05-19 07:48:28 -07:00
..
animationfunctions.cpp Profile: Fix leak in animation 2018-05-19 07:48:28 -07:00
animationfunctions.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt Correctly handle SubsurfaceMobile 2016-01-08 08:04:24 -08:00
divecartesianaxis.cpp Profile: minor coding style issues concerning axis-ticks 2018-05-19 07:48:28 -07:00
divecartesianaxis.h Typo: indice -> index 2018-01-10 21:25:02 +01:00
diveeventitem.cpp Read and write divemode changes (xml and git) 2018-05-14 23:47:00 +03:00
diveeventitem.h Dive pictures: remove close-button optimization 2018-05-13 13:52:35 -07:00
divelineitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divelineitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divepixmapitem.cpp Dive pictures: Fix crash on picture delete 2018-05-17 07:22:04 -07:00
divepixmapitem.h Dive pictures: Fix crash on picture delete 2018-05-17 07:22:04 -07:00
diveprofileitem.cpp Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
diveprofileitem.h Typo: Threshould -> Threshold 2018-01-10 21:25:02 +01:00
diverectitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
diverectitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
divetooltipitem.h code cleanup: remove unimplemented classes and structs 2017-06-16 05:31:41 +09:00
profilewidget2.cpp Dive pictures: Don't plot pictures twice when changing current dive 2018-05-17 07:24:54 -07:00
profilewidget2.h Dive pictures: Don't plot pictures twice when changing current dive 2018-05-17 07:24:54 -07:00
ruleritem.cpp Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
ruleritem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
tankitem.cpp cleanup: Uninitialized pointer field 2017-12-29 09:14:20 -08:00
tankitem.h cleanup: Uninitialized pointer field 2017-12-29 09:14:20 -08:00