summaryrefslogtreecommitdiffstats
path: root/printing_templates
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-09 08:28:09 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-11 12:36:43 -0500
commit49e633039911db835beb29a77bbc890117db9845 (patch)
tree3a4ea042974812210e6b4911c44e3b481540eda5 /printing_templates
parent738d3057da3241d0d796812b3822270651a12691 (diff)
downloadsubsurface-49e633039911db835beb29a77bbc890117db9845.tar.gz
core: make shared prepareDives identical to desktop prepare_dives_for_divelogs
In order to replace DivelogsDeWebServices::prepare_dives_for_divelogs with uploadDiveLogsDE::prepareDives, first step is to make the functions identical. amount_selected is not maintained for mobile, add #ifdef SUBSURFACE_MOBILE Add comment, to make code more readable add white line to make code more readable change to use variable ds (created a couple of lines earlier Avoid "goto" by adding close code Remove label and close code (it was only called in 1 place) Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'printing_templates')
0 files changed, 0 insertions, 0 deletions