subsurface/qt-models
Berthold Stoeger 3fc2da567b Dive site: ignore dive sites without location in proximity search
When editing a dive site, the user can search for close dive sites
to merge duplicates. Dive sites without location are treated as
being located at 0N0E. This makes no sense, because:

When selecting a dive site without location, we shouldn't list
dive sites close to 0N0E.

Likewise when having a dive site close to 0N0E, we shouldn't list
dive sites that have no location.

Therefore, ignore these cases.

This also means that now dive sites without location are not
considered as close to other dive sites without location. That
might be a debatable point.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-02-04 02:18:58 +01:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt
completionmodels.cpp code cleanup: replace use of toStdVector() 2020-01-10 02:37:03 +09:00
completionmodels.h
cylindermodel.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
cylindermodel.h
divecomputerextradatamodel.cpp qt-models: Change Q_UNUSED to no parameter name 2018-05-21 12:48:04 -07:00
divecomputerextradatamodel.h
divecomputermodel.cpp
divecomputermodel.h
diveimportedmodel.cpp code cleanup: add empty table structures 2020-01-10 02:37:03 +09:00
diveimportedmodel.h
divelistmodel.cpp
divelistmodel.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
divelocationmodel.cpp Dive site: ignore dive sites without location in proximity search 2020-02-04 02:18:58 +01:00
divelocationmodel.h
divepicturemodel.cpp
divepicturemodel.h
diveplannermodel.cpp diveplanner: add comments explaining different scaling 2020-01-25 17:27:25 -08:00
diveplannermodel.h qt-models: add suffix Display to unit system aware asc/desc setters 2020-01-20 15:45:20 -08:00
diveplotdatamodel.cpp
diveplotdatamodel.h
divesiteimportmodel.cpp
divesiteimportmodel.h
divetripmodel.cpp code cleanup: introduce empty_cylinder constant 2020-01-10 02:37:03 +09:00
divetripmodel.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
filtermodels.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
filtermodels.h
gpslistmodel.cpp
gpslistmodel.h
maplocationmodel.cpp
maplocationmodel.h Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
messagehandlermodel.cpp
messagehandlermodel.h
models.cpp
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp Cleanup: lower-case filenames in core/subsurface-qt/ 2020-02-04 02:16:46 +01:00
weightmodel.h
weightsysteminfomodel.cpp Cleanup: implement proper Qt-model semantics in WeightInfoModel 2019-04-29 13:06:39 -07:00
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h