diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-08-17 20:37:30 +0300 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2018-08-18 18:50:26 +0200 |
commit | b4f10553cc9f426597e45c282e01e4bd37e3a0e7 (patch) | |
tree | dc9ebd9b066c1405049abccf0f9ea27c3e0e37d3 /core/connectionlistmodel.cpp | |
parent | 7cf05897a2c4ecccdfda2a3967b947f38441c5b6 (diff) | |
download | subsurface-b4f10553cc9f426597e45c282e01e4bd37e3a0e7.tar.gz |
map-widget: add support for filtering of map locations
If the dive list is filtered the map should hide dive locations
that do not match the dive list filter.
To achieve that, loop over dives instead of dive sites in
MapWidgetHelper::reloadMapLocations() and discard
dives that are hidden by the filter. Then check if a dive
has a dive site attached to it and re-use the old functionality.
Suggested-by: Willem Ferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'core/connectionlistmodel.cpp')
0 files changed, 0 insertions, 0 deletions