diff options
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r-- | qt-models/divelocationmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h index ca74ad791..914672725 100644 --- a/qt-models/divelocationmodel.h +++ b/qt-models/divelocationmodel.h @@ -62,11 +62,13 @@ class GPSLocationInformationModel : public QSortFilterProxyModel { private: const struct dive_site *ignoreDs; location_t location; + int64_t distance; bool filterAcceptsRow(int sourceRow, const QModelIndex &source_parent) const override; public: GPSLocationInformationModel(QObject *parent = nullptr); void set(const struct dive_site *ignoreDs, const location_t &); void setCoordinates(const location_t &); + void setDistance(int64_t dist); // Distance from coordinates in mm }; class GeoReferencingOptionsModel : public QStringListModel { |