summaryrefslogtreecommitdiffstats
path: root/qt-models/divelocationmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/divelocationmodel.h')
-rw-r--r--qt-models/divelocationmodel.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-models/divelocationmodel.h b/qt-models/divelocationmodel.h
index fe78854b9..14077609c 100644
--- a/qt-models/divelocationmodel.h
+++ b/qt-models/divelocationmodel.h
@@ -38,12 +38,12 @@ class GPSLocationInformationModel : public QSortFilterProxyModel {
Q_OBJECT
private:
uint32_t ignoreUuid;
- degrees_t latitude, longitude;
+ location_t location;
bool filterAcceptsRow(int sourceRow, const QModelIndex &source_parent) const override;
public:
GPSLocationInformationModel(QObject *parent = nullptr);
- void set(uint32_t ignoreUuid, degrees_t latitude, degrees_t longitude);
- void setCoordinates(degrees_t latitude, degrees_t longitude);
+ void set(uint32_t ignoreUuid, const location_t &);
+ void setCoordinates(const location_t &);
};
class GeoReferencingOptionsModel : public QStringListModel {