From 3033bc680d480a8a180f25b054c4dc9d1aacfc8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Sun, 17 Jan 2021 18:39:57 +0100 Subject: [PATCH] Includes cleanup --- src/GUI/pathitem.cpp | 1 + src/GUI/pathitem.h | 4 ++-- src/GUI/routeitem.cpp | 1 + src/GUI/routeitem.h | 6 ++---- src/GUI/trackitem.cpp | 1 + src/GUI/trackitem.h | 6 ++---- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/GUI/pathitem.cpp b/src/GUI/pathitem.cpp index 0be6ffe5..86738e85 100644 --- a/src/GUI/pathitem.cpp +++ b/src/GUI/pathitem.cpp @@ -7,6 +7,7 @@ #include "pathtickitem.h" #include "popup.h" #include "graphitem.h" +#include "markeritem.h" #include "pathitem.h" diff --git a/src/GUI/pathitem.h b/src/GUI/pathitem.h index d8bed204..9a589803 100644 --- a/src/GUI/pathitem.h +++ b/src/GUI/pathitem.h @@ -5,13 +5,13 @@ #include #include #include "data/path.h" -#include "markeritem.h" -#include "units.h" #include "graphicsscene.h" +#include "units.h" class Map; class PathTickItem; class GraphItem; +class MarkerItem; class PathItem : public QObject, public GraphicsItem { diff --git a/src/GUI/routeitem.cpp b/src/GUI/routeitem.cpp index a18e4da2..112aaa61 100644 --- a/src/GUI/routeitem.cpp +++ b/src/GUI/routeitem.cpp @@ -1,5 +1,6 @@ #include #include "data/waypoint.h" +#include "data/route.h" #include "map/map.h" #include "format.h" #include "waypointitem.h" diff --git a/src/GUI/routeitem.h b/src/GUI/routeitem.h index e6b20285..28f91409 100644 --- a/src/GUI/routeitem.h +++ b/src/GUI/routeitem.h @@ -1,13 +1,11 @@ #ifndef ROUTEITEM_H #define ROUTEITEM_H -#include "data/route.h" +#include "data/link.h" #include "pathitem.h" -#include "units.h" -#include "format.h" -#include "graphicsscene.h" class Map; +class Route; class WaypointItem; class RouteItem : public PathItem diff --git a/src/GUI/trackitem.cpp b/src/GUI/trackitem.cpp index 3d62b61d..95f6ac89 100644 --- a/src/GUI/trackitem.cpp +++ b/src/GUI/trackitem.cpp @@ -1,5 +1,6 @@ #include #include "map/map.h" +#include "data/track.h" #include "format.h" #include "tooltip.h" #include "trackitem.h" diff --git a/src/GUI/trackitem.h b/src/GUI/trackitem.h index 0edd1049..3c4219c0 100644 --- a/src/GUI/trackitem.h +++ b/src/GUI/trackitem.h @@ -2,13 +2,11 @@ #define TRACKITEM_H #include -#include -#include "data/track.h" +#include "data/link.h" #include "pathitem.h" -#include "units.h" -#include "graphicsscene.h" class Map; +class Track; class TrackItem : public PathItem {