diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2017-05-20 21:39:50 +0200 |
---|---|---|
committer | Jan Mulder <jlmulder@xs4all.nl> | 2018-01-10 16:45:42 +0100 |
commit | 53221ffd8e5f70ef82b6cd01d54a51a5bf194c8d (patch) | |
tree | ad122f017eab5b1c6fab8169d0153337c2a47f5a /qt-models/gpslistmodel.cpp | |
parent | 1892e2af21dea4fd25e3ab4113c47888e7d5d466 (diff) | |
download | subsurface-53221ffd8e5f70ef82b6cd01d54a51a5bf194c8d.tar.gz |
Unused code: GpsListModel::addGpsFix()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'qt-models/gpslistmodel.cpp')
-rw-r--r-- | qt-models/gpslistmodel.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/qt-models/gpslistmodel.cpp b/qt-models/gpslistmodel.cpp index 429993d42..ee7867314 100644 --- a/qt-models/gpslistmodel.cpp +++ b/qt-models/gpslistmodel.cpp @@ -10,13 +10,6 @@ GpsListModel::GpsListModel(QObject *parent) : QAbstractListModel(parent) m_instance = this; } -void GpsListModel::addGpsFix(gpsTracker g) -{ - beginInsertColumns(QModelIndex(), rowCount(), rowCount()); - m_gpsFixes.append(g); - endInsertRows(); -} - void GpsListModel::update() { QVector<gpsTracker> trackers = QVector<gpsTracker>::fromList(GpsLocation::instance()->currentGPSInfo().values()); |