subsurface/smtk-import
Salvador Cuñat e4086dc746 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>
2017-04-04 10:54:55 -07:00
..
CMakeLists.txt SmartTrak import - Add building out of source tree 2017-01-05 13:14:01 -08:00
smartrak.c smtk-import Avoid duplicities in bookmarks 2017-04-04 10:54:55 -07:00
smrtk2ssrfc_window.cpp Locate included header files 2017-01-05 13:14:17 -08:00
smrtk2ssrfc_window.h SmartTrak import - CLI parser and GUI files 2015-11-12 07:39:14 -08:00
smrtk2ssrfc_window.ui SmartTrak import - CLI parser and GUI files 2015-11-12 07:39:14 -08:00
smtk_standalone.cpp Locate included header files 2017-01-05 13:14:17 -08:00