diff --git a/src/GUI/navigationwidget.cpp b/src/GUI/navigationwidget.cpp index 00b8aefb..b731b914 100644 --- a/src/GUI/navigationwidget.cpp +++ b/src/GUI/navigationwidget.cpp @@ -1,7 +1,8 @@ -#include "navigationwidget.h" #include #include #include +#include "mapview.h" +#include "navigationwidget.h" #define MARGIN 5 #define SIZE 40 diff --git a/src/GUI/navigationwidget.h b/src/GUI/navigationwidget.h index d890fa9c..a0921906 100644 --- a/src/GUI/navigationwidget.h +++ b/src/GUI/navigationwidget.h @@ -1,10 +1,11 @@ #ifndef NAVIGATIONWIDGET_H #define NAVIGATIONWIDGET_H -#ifdef Q_OS_ANDROID #include -#include "mapview.h" +class MapView; + +#ifdef Q_OS_ANDROID class NavigationWidget : public QWidget { Q_OBJECT