From 9e610af55d34e3449670101f23b96c66a251f76a Mon Sep 17 00:00:00 2001 From: Julian Smith Date: Mon, 1 Jun 2020 19:00:28 +0100 Subject: [PATCH] Added some #includes of Qt headers that were missing. We get away with things without these includes because the build concats lots of C++ files together into build/flightgear/src/GUI/fglauncher_autogen/mocs_compilation.cpp and luckily earlier ones had the right includes. --- src/GUI/AircraftSearchFilterModel.hxx | 1 + src/GUI/CatalogListModel.hxx | 1 + src/GUI/LauncherController.hxx | 1 + src/GUI/ModelDataExtractor.hxx | 1 + 4 files changed, 4 insertions(+) diff --git a/src/GUI/AircraftSearchFilterModel.hxx b/src/GUI/AircraftSearchFilterModel.hxx index d0103c65f..10d0bb32e 100644 --- a/src/GUI/AircraftSearchFilterModel.hxx +++ b/src/GUI/AircraftSearchFilterModel.hxx @@ -2,6 +2,7 @@ #define AIRCRAFTSEARCHFILTERMODEL_HXX #include +#include #include diff --git a/src/GUI/CatalogListModel.hxx b/src/GUI/CatalogListModel.hxx index c79e0d249..934b33b73 100644 --- a/src/GUI/CatalogListModel.hxx +++ b/src/GUI/CatalogListModel.hxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include diff --git a/src/GUI/LauncherController.hxx b/src/GUI/LauncherController.hxx index 8074df0a9..449a18cd1 100644 --- a/src/GUI/LauncherController.hxx +++ b/src/GUI/LauncherController.hxx @@ -25,6 +25,7 @@ #include #include #include +#include #include #include diff --git a/src/GUI/ModelDataExtractor.hxx b/src/GUI/ModelDataExtractor.hxx index dca4afa1b..857969fec 100644 --- a/src/GUI/ModelDataExtractor.hxx +++ b/src/GUI/ModelDataExtractor.hxx @@ -3,6 +3,7 @@ #include #include +#include class QAbstractItemModel;