subsurface/profile-widget
Berthold Stoeger ae60fdf815 Cleanup: call calculate_max_limits_new() in create_plot_info_new()
All callers of create_plot_info_new() called calculate_max_limits_new()
a line before. Thus, simply call the latter in the former.

This allows us to automatically free the plot data in create_plot_info_new().
The old code overwrote the corresponding field with NULL.

As a side-effect, this removes a bogus static variable.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-07-06 11:23:35 -07:00
..
animationfunctions.cpp core/tests: merge Animations and add vars. to qPrefDisplay 2018-08-25 11:49:47 -07:00
animationfunctions.h Add SPDX header to profile widgets 2017-04-29 13:32:55 -07:00
CMakeLists.txt CMake: add headers to targets 2019-03-27 14:07:32 -07:00
divecartesianaxis.cpp profile-widget: remove SettingsObjectWrapper and update qPref calls 2018-08-15 16:11:39 -07:00
divecartesianaxis.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
diveeventitem.cpp Show a bit of surface degassing in the planner 2019-03-29 06:51:12 -07:00
diveeventitem.h Show a bit of surface degassing in the planner 2019-03-29 06:51:12 -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 video: paint duration-bar above thumbnail in profile plot 2018-07-23 15:58:55 -07:00
divepixmapitem.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07:00
diveprofileitem.cpp Cleanup: remove UTF8 macros 2019-05-12 12:25:43 -07:00
diveprofileitem.h Cleanup: reinstate override modifiers 2018-09-29 15:23:25 -07: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 get rid of some foreach and Q_FOREACH constructs 2019-04-12 12:59:17 +03:00
divetooltipitem.h Cleanup: replace virtual by override where appropriate 2018-07-31 11:02:34 +02:00
profilewidget2.cpp Cleanup: call calculate_max_limits_new() in create_plot_info_new() 2019-07-06 11:23:35 -07:00
profilewidget2.h Desktop: read tab-items from current_dive, not displayed_dive 2019-04-12 18:19:07 +03:00
qmlprofile.cpp profile: make profile self contained 2018-06-09 17:16:53 +02:00
qmlprofile.h profile: make profile self contained 2018-06-09 17:16:53 +02:00
ruleritem.cpp Cleanup: pass const-reference to RulerItem2::setPlotInfo() 2019-03-19 16:06:14 -07:00
ruleritem.h Cleanup: pass const-reference to RulerItem2::setPlotInfo() 2019-03-19 16:06:14 -07:00
tankitem.cpp use qDeleteAll() 2019-04-12 12:59:17 +03:00
tankitem.h Cleanup: pass gasmix by value 2018-08-23 05:16:38 -07:00