summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefDivePlanner.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2019-09-11 16:23:29 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-09-11 21:51:39 +0100
commit36aab0fe9516f55b410404f379cd083a891afa3a (patch)
treecfbebbe11dd1fad17aaea31cec6b1100f05ae4e6 /core/settings/qPrefDivePlanner.h
parent958dce33263ecda91fae0f5d25494ec2ca5808ba (diff)
downloadsubsurface-36aab0fe9516f55b410404f379cd083a891afa3a.tar.gz
Add 'download_error()' helper for libdivecomputer download error reporting
In the previous commit, we just continued downloading dives when download errors happened, but that also makes problems a lot easier to miss because now they are possibly just transient reports in the progress bar that get overwritten by the next dive being downloaded. So this turns a number of these errors from using 'dev_info()' to use a new 'download_error()' reporting model, which then uses the generic subsurface error reporting functionality that is sticky and can handle multiple errors. It also adds a few 'dev_info()' calls for actual informational messages about the state of downloading, although the new ones will probably mainly end up happening before the progress bar is actually shown. But it might improve on some of the progress messages. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'core/settings/qPrefDivePlanner.h')
0 files changed, 0 insertions, 0 deletions