summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-14 21:04:08 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit1deded787405f10af65c4dfe7c19b5e4a5ea3cdc (patch)
tree20bf9248f78f1aa7e19ff8d6aa7d61ee76956190 /qt-models/divelocationmodel.cpp
parent021aa4bd5742c575e56f36fd057e11679aaa35a5 (diff)
downloadsubsurface-1deded787405f10af65c4dfe7c19b5e4a5ea3cdc.tar.gz
Cleanup: remove LATITUDE and LONGITUDE columns in DiveLocationModel
These were never used and it's hard to imagine when one of these would be used. Typically users are more interested in the coordinates than just one component, no? Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/divelocationmodel.cpp')
-rw-r--r--qt-models/divelocationmodel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp
index 14d06f70f..89f6dd764 100644
--- a/qt-models/divelocationmodel.cpp
+++ b/qt-models/divelocationmodel.cpp
@@ -92,8 +92,6 @@ QVariant LocationInformationModel::getDiveSiteData(const struct dive_site *ds, i
case DIVESITE: return QVariant::fromValue<dive_site *>((dive_site *)ds); // Not nice: casting away const
case NAME: return ds->name;
case NUM_DIVES: return ds->dives.nr;
- case LATITUDE: return ds->location.lat.udeg;
- case LONGITUDE: return ds->location.lon.udeg;
case COORDS: return "TODO";
case DESCRIPTION: return ds->description;
case NOTES: return ds->name;