summaryrefslogtreecommitdiffstats
path: root/qt-models/gpslistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-models/gpslistmodel.cpp')
-rw-r--r--qt-models/gpslistmodel.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/qt-models/gpslistmodel.cpp b/qt-models/gpslistmodel.cpp
index 8d874d67b..8a623bf00 100644
--- a/qt-models/gpslistmodel.cpp
+++ b/qt-models/gpslistmodel.cpp
@@ -3,11 +3,8 @@
#include "core/qthelper.h"
#include <QVector>
-GpsListModel *GpsListModel::m_instance = NULL;
-
GpsListModel::GpsListModel(QObject *parent) : QAbstractListModel(parent)
{
- m_instance = this;
}
void GpsListModel::update()
@@ -62,9 +59,3 @@ QHash<int, QByteArray> GpsListModel::roleNames() const
roles[GpsLongitudeRole] = "longitude";
return roles;
}
-
-GpsListModel *GpsListModel::instance()
-{
- return m_instance;
-}
-