aboutsummaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qmlmanager.h
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2017-04-02 23:42:36 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-04 10:54:55 -0700
commite4086dc74648c5f5ed7b72f1dc35e16e3bee8041 (patch)
treed96f24c69f778dbd68643d46fcd7de3baa93b0d1 /mobile-widgets/qmlmanager.h
parent4864ea56cbaa694ed237e854de2cfa1407fc18c4 (diff)
downloadsubsurface-e4086dc74648c5f5ed7b72f1dc35e16e3bee8041.tar.gz
smtk-import Avoid duplicities in bookmarks
SmartTrak's bookmarks work in the same fashion Subsurface's do. The user may set a bookmark while underwater or set it just on the divelog software. At this time we are parsing those set in the DC twice, as we get one from libdivecomputer and another from smarttrak's database. This patch just checks if we have a bookmark event downloaded by libdivecomputer which has the same time that the one parsed from the .slg file. If so, merge the names taking the one from smarttrak. Text from smarttrak is preferred because the user may have entered some interesting note there and libdivecomputer's name is just "bookmark". Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com>
Diffstat (limited to 'mobile-widgets/qmlmanager.h')
0 files changed, 0 insertions, 0 deletions