1
0
Fork 0

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.
This commit is contained in:
Julian Smith 2020-06-01 19:00:28 +01:00
parent 0506a72b30
commit 9e610af55d
4 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,7 @@
#define AIRCRAFTSEARCHFILTERMODEL_HXX #define AIRCRAFTSEARCHFILTERMODEL_HXX
#include <QSortFilterProxyModel> #include <QSortFilterProxyModel>
#include <QUrl>
#include <simgear/props/props.hxx> #include <simgear/props/props.hxx>

View file

@ -26,6 +26,7 @@
#include <QDir> #include <QDir>
#include <QPixmap> #include <QPixmap>
#include <QStringList> #include <QStringList>
#include <QUrl>
#include <simgear/package/Root.hxx> #include <simgear/package/Root.hxx>
#include <simgear/package/Catalog.hxx> #include <simgear/package/Catalog.hxx>

View file

@ -25,6 +25,7 @@
#include <QUrl> #include <QUrl>
#include <QModelIndex> #include <QModelIndex>
#include <QSize> #include <QSize>
#include <QPointF>
#include <simgear/package/Package.hxx> #include <simgear/package/Package.hxx>
#include <simgear/package/Catalog.hxx> #include <simgear/package/Catalog.hxx>

View file

@ -3,6 +3,7 @@
#include <QObject> #include <QObject>
#include <QJSValue> #include <QJSValue>
#include <QVariant>
class QAbstractItemModel; class QAbstractItemModel;