mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Unused code: GpsListModel::addGpsFix()
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
This commit is contained in:
parent
1892e2af21
commit
53221ffd8e
2 changed files with 0 additions and 8 deletions
|
@ -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());
|
||||
|
|
|
@ -21,7 +21,6 @@ public:
|
|||
|
||||
static GpsListModel *instance();
|
||||
GpsListModel(QObject *parent = 0);
|
||||
void addGpsFix(gpsTracker g);
|
||||
void clear();
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const;
|
||||
QHash<int, QByteArray> roleNames() const;
|
||||
|
|
Loading…
Reference in a new issue