1
0
Fork 0

Fixes for Qt 5.4 compat

This commit is contained in:
James Turner 2018-05-08 22:17:07 +01:00
parent ee48fddd5e
commit d4cd82b521
3 changed files with 2 additions and 3 deletions

View file

@ -146,8 +146,6 @@ void AddOnsController::setAircraftPaths(QStringList aircraftPaths)
if (m_aircraftPaths == aircraftPaths)
return;
qInfo() << Q_FUNC_INFO << aircraftPaths << ", was " << m_aircraftPaths;
m_aircraftPaths = aircraftPaths;
emit aircraftPathsChanged(m_aircraftPaths);

View file

@ -2,6 +2,7 @@
#define ADDONSCONTROLLER_HXX
#include <QObject>
#include <QStringList>
class CatalogListModel;
class LauncherMainWindow;

View file

@ -90,7 +90,7 @@ public:
NoAddInProgress
};
Q_ENUM(CatalogStatus)
Q_ENUMS(CatalogStatus)
void onCatalogStatusChanged(simgear::pkg::Catalog *cat);