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>
This commit is contained in:
Lubomir I. Ivanov 2018-03-08 21:35:44 +02:00 committed by Dirk Hohndel
parent 2317fed9b6
commit eb8772d967
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
#include <QApplication> #include <QApplication>
#include <QClipboard> #include <QClipboard>
#include <QGeoCoordinate>
#include <QDebug> #include <QDebug>
#include <QVector> #include <QVector>

View file

@ -3,8 +3,9 @@
#define QMLMAPWIDGETHELPER_H #define QMLMAPWIDGETHELPER_H
#include <QObject> #include <QObject>
#include <QGeoCoordinate>
#include <QVariant>
class QGeoCoordinate;
class MapLocationModel; class MapLocationModel;
class MapLocation; class MapLocation;
struct dive_site; struct dive_site;