subsurface/profile-widget
Berthold Stoeger 9bfc6d2520 profile: use a parameter to determine planner state
The in_planner() function is incompatible with a reentrant
profile, since it accesses a global variable. In
create_plot_info_new() it is essentially redundant, because
there is a planner_ds (ds = deco_state) parameter that
is used only when in the planner. Therefore use that as
the in_planner indicator: when non-null, the profile is
showing a planned dive.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2021-01-10 15:57:39 -08:00
..
animationfunctions.cpp Profile: add speed parameter to Animation::* functions 2019-07-12 09:59:28 +02:00
animationfunctions.h Profile: add speed parameter to Animation::* functions 2019-07-12 09:59:28 +02:00
CMakeLists.txt profile: move DiveHandler to profile-widget folder 2020-12-12 15:52:40 -08:00
divecartesianaxis.cpp profile: explicitly update gas-axis 2021-01-10 15:57:39 -08:00
divecartesianaxis.h profile: explicitly update gas-axis 2021-01-10 15:57:39 -08:00
diveeventitem.cpp cleanup: split out divecomputer functions from dive.c 2020-10-25 13:59:52 -07:00
diveeventitem.h Profile: take int instead of bool in DiveEventItem::recalculatePos 2019-07-12 09:59:28 +02:00
divehandler.cpp profile: move DiveHandler to profile-widget folder 2020-12-12 15:52:40 -08:00
divehandler.h profile: move DiveHandler to profile-widget folder 2020-12-12 15:52:40 -08: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 profile: move picture removal from DivePictureItem to ProfileWidget2 2020-12-19 20:19:51 +01:00
divepixmapitem.h profile: move picture removal from DivePictureItem to ProfileWidget2 2020-12-19 20:19:51 +01:00
diveprofileitem.cpp profile: remove DiveProfileItem::settingsToggled 2021-01-10 15:57:39 -08:00
diveprofileitem.h profile: remove DiveProfileItem::settingsToggled 2021-01-10 15:57:39 -08: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 Cleanup: move error reporting function declarations to errorhelper.h 2019-08-08 16:26:30 -07:00
divetextitem.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
divetooltipitem.cpp statistics: use RoundRectItem for legend and info-box 2021-01-03 13:56:05 -08:00
divetooltipitem.h ui: create a RoundRectItem class 2021-01-03 13:56:05 -08:00
profilewidget2.cpp profile: use a parameter to determine planner state 2021-01-10 15:57:39 -08:00
profilewidget2.h profile: unconditionally replot chart when settings change 2021-01-10 15:57:39 -08:00
qmlprofile.cpp mobile/profile: listen to dive changes and redraw profile 2020-12-21 13:12:37 -08:00
qmlprofile.h mobile/profile: listen to dive changes and redraw profile 2020-12-21 13:12:37 -08:00
ruleritem.cpp preferences: create global settingsChanged signal 2020-12-12 15:52:40 -08:00
ruleritem.h cleanup: turn protected into private members 2020-04-13 17:18:37 -07:00
tankitem.cpp profile: remove displayed_dive from TankItem 2021-01-10 15:57:39 -08:00
tankitem.h profile: remove displayed_dive from TankItem 2021-01-10 15:57:39 -08:00