summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-03-08 21:35:44 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-03-11 11:40:12 -0700
commiteb8772d967cc033c7d0e38d3b659eb869be61ac4 (patch)
tree0f457c78ccef771ae2761121145aa8e3669bfab9
parent2317fed9b6d4139fe648c2203ace37559016db46 (diff)
downloadsubsurface-eb8772d967cc033c7d0e38d3b659eb869be61ac4.tar.gz
qmapwidgethelper: move includes to the header
Add the following includes in the header - <QVariant> and <QGeoCoordinate> otherwise the mobile build fails. It is unclear how the desktop build does not complain about this. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
-rw-r--r--map-widget/qmlmapwidgethelper.cpp1
-rw-r--r--map-widget/qmlmapwidgethelper.h3
2 files changed, 2 insertions, 2 deletions
diff --git a/map-widget/qmlmapwidgethelper.cpp b/map-widget/qmlmapwidgethelper.cpp
index 7e2caf66b..26590269a 100644
--- a/map-widget/qmlmapwidgethelper.cpp
+++ b/map-widget/qmlmapwidgethelper.cpp
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0
#include <QApplication>
#include <QClipboard>
-#include <QGeoCoordinate>
#include <QDebug>
#include <QVector>
diff --git a/map-widget/qmlmapwidgethelper.h b/map-widget/qmlmapwidgethelper.h
index 58f7c4dad..d1ba47f41 100644
--- a/map-widget/qmlmapwidgethelper.h
+++ b/map-widget/qmlmapwidgethelper.h
@@ -3,8 +3,9 @@
#define QMLMAPWIDGETHELPER_H
#include <QObject>
+#include <QGeoCoordinate>
+#include <QVariant>
-class QGeoCoordinate;
class MapLocationModel;
class MapLocation;
struct dive_site;