Merge pull request #6798 from spycrab/qt_moc_fix
Qt: Fix moc compilation
This commit is contained in:
commit
7b0d7799b5
|
@ -7,7 +7,12 @@
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
// Qt versions prior to 5.9 don't support C++17 nested namespaces in moc so we have to if-guard
|
||||||
|
// this header
|
||||||
|
#ifndef Q_MOC_RUN
|
||||||
#include "DiscIO/Volume.h"
|
#include "DiscIO/Volume.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "UICommon/GameFile.h"
|
#include "UICommon/GameFile.h"
|
||||||
|
|
||||||
class QStandardItem;
|
class QStandardItem;
|
||||||
|
@ -18,7 +23,7 @@ namespace DiscIO
|
||||||
{
|
{
|
||||||
class FileInfo;
|
class FileInfo;
|
||||||
struct Partition;
|
struct Partition;
|
||||||
};
|
}; // namespace DiscIO
|
||||||
|
|
||||||
class FilesystemWidget final : public QWidget
|
class FilesystemWidget final : public QWidget
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue