summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-models/maplocationmodel.h4
-rw-r--r--subsurface-helper.cpp1
2 files changed, 1 insertions, 4 deletions
diff --git a/qt-models/maplocationmodel.h b/qt-models/maplocationmodel.h
index afb7e92ec..cb8252a3a 100644
--- a/qt-models/maplocationmodel.h
+++ b/qt-models/maplocationmodel.h
@@ -10,10 +10,8 @@
#include <QAbstractListModel>
#include <QGeoCoordinate>
-class MapLocation : public QObject
+class MapLocation
{
- Q_OBJECT
-
public:
explicit MapLocation();
explicit MapLocation(struct dive_site *ds, QGeoCoordinate coord, QString name, bool selected);
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 4d7774953..5671ffc58 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -164,6 +164,5 @@ void register_qml_types(QQmlEngine *engine)
REGISTER_TYPE(MapWidgetHelper, "MapWidgetHelper");
REGISTER_TYPE(MapLocationModel, "MapLocationModel");
- REGISTER_TYPE(MapLocation, "MapLocation");
#endif // not SUBSURFACE_TEST_DATA
}