diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:13:30 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-08 23:13:30 -0800 |
commit | 249a2c2c0907fd0444b5c926ff8c965c6fb3776a (patch) | |
tree | 34b00f128f66c93abec3440c4092b874b2bc6697 /qt-models/gpslistmodel.h | |
parent | b34a507d514b491b8060d4e21484ba5d5c3ca461 (diff) | |
download | subsurface-249a2c2c0907fd0444b5c926ff8c965c6fb3776a.tar.gz |
Gps list: include the time_t timestamp in the model
Just having the string means we lost the unique value that we can use as key to
indentify a specific GPS fix.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/gpslistmodel.h')
-rw-r--r-- | qt-models/gpslistmodel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-models/gpslistmodel.h b/qt-models/gpslistmodel.h index 91a15540f..870540b4f 100644 --- a/qt-models/gpslistmodel.h +++ b/qt-models/gpslistmodel.h @@ -14,7 +14,8 @@ public: GpsDateRole = Qt::UserRole + 1, GpsNameRole, GpsLatitudeRole, - GpsLongitudeRole + GpsLongitudeRole, + GpsWhenRole }; static GpsListModel *instance(); |