diff options
Diffstat (limited to 'map-widget/qmlmapwidgethelper.cpp')
-rw-r--r-- | map-widget/qmlmapwidgethelper.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/map-widget/qmlmapwidgethelper.cpp b/map-widget/qmlmapwidgethelper.cpp index a40fa1d9f..feaccdbef 100644 --- a/map-widget/qmlmapwidgethelper.cpp +++ b/map-widget/qmlmapwidgethelper.cpp @@ -11,6 +11,7 @@ #include "qt-models/divelocationmodel.h" #ifndef SUBSURFACE_MOBILE #include "qt-models/filtermodels.h" +#include "desktop-widgets/mapwidget.h" #endif #define SMALL_CIRCLE_RADIUS_PX 26.0 @@ -235,6 +236,11 @@ void MapWidgetHelper::diveSiteChanged(struct dive_site *ds, int field) centerOnDiveSite(ds); } +bool MapWidgetHelper::editMode() const +{ + return m_editMode; +} + QString MapWidgetHelper::pluginObject() { QString lang = uiLanguage(NULL).replace('_', '-'); |