From 47e702b659545fc9db6b30478b54ef0910515304 Mon Sep 17 00:00:00 2001
From: Moritz Maxeiner <mm@ucw.sh>
Date: Sun, 1 Mar 2020 16:52:43 +0100
Subject: [PATCH] Clean up some includes

---
 Src/Model/Network/TcpListener.h                  | 16 ++++++++--------
 .../preprocessor/ImagePreProcessor.h             |  5 ++---
 Src/helper/CvHelper.h                            | 10 +++++-----
 3 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/Src/Model/Network/TcpListener.h b/Src/Model/Network/TcpListener.h
index 58a00dd..d53d30f 100644
--- a/Src/Model/Network/TcpListener.h
+++ b/Src/Model/Network/TcpListener.h
@@ -1,16 +1,16 @@
 #pragma once
 
-#include <QtCore/QThread>
-#include <QtCore/QDebug>
-#include <QtNetwork/QTcpServer>
-#include <QtNetwork/QTcpSocket>
-#include <QtNetwork/QNetworkInterface>
-
-#include "../TrackedComponents/pose/FishPose.h"
-
 #include <unordered_set>
 #include <chrono>
 
+#include <QThread>
+#include <QDebug>
+#include <QTcpServer>
+#include <QTcpSocket>
+#include <QNetworkInterface>
+
+#include "../TrackedComponents/pose/FishPose.h"
+
 class TcpListener : public QTcpServer
 {
 	Q_OBJECT
diff --git a/Src/Model/TrackingAlgorithm/imageProcessor/preprocessor/ImagePreProcessor.h b/Src/Model/TrackingAlgorithm/imageProcessor/preprocessor/ImagePreProcessor.h
index 1e3246f..7a8d55e 100644
--- a/Src/Model/TrackingAlgorithm/imageProcessor/preprocessor/ImagePreProcessor.h
+++ b/Src/Model/TrackingAlgorithm/imageProcessor/preprocessor/ImagePreProcessor.h
@@ -1,9 +1,8 @@
 #pragma once
 
-#include <opencv2/opencv.hpp>
-
+#include <QSettings>
 
-#include <QtCore/QSettings>
+#include <opencv2/opencv.hpp>
 
 #include "../../../../helper/StringHelper.h"
 #include "../../../TrackerParameter.h"
diff --git a/Src/helper/CvHelper.h b/Src/helper/CvHelper.h
index 774b064..2c842df 100644
--- a/Src/helper/CvHelper.h
+++ b/Src/helper/CvHelper.h
@@ -1,10 +1,10 @@
 #pragma once
 
-#include <QtCore/qmath.h>
-#include <QtCore/QPoint>
-#include <QtCore/QPointF>
-#include <QtCore/QList>
-#include <QtCore/QDateTime>
+#include <QtMath>
+#include <QPoint>
+#include <QPointF>
+#include <QList>
+#include <QDateTime>
 #include <QDebug>
 
 #include <opencv2/opencv.hpp>
-- 
GitLab