summaryrefslogtreecommitdiffstats
path: root/api/logic/modplatform/PackHelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/modplatform/PackHelpers.h')
-rw-r--r--api/logic/modplatform/PackHelpers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/api/logic/modplatform/PackHelpers.h b/api/logic/modplatform/PackHelpers.h
index ba0e5cb0..f761ed6b 100644
--- a/api/logic/modplatform/PackHelpers.h
+++ b/api/logic/modplatform/PackHelpers.h
@@ -1,8 +1,8 @@
#pragma once
#include <QList>
+#include "qmetatype.h"
//Header for structs etc...
-
struct FtbModpack {
QString name;
QString description;
@@ -16,6 +16,11 @@ struct FtbModpack {
//Technical data
QString dir;
QString file; //<- Url in the xml, but doesn't make much sense
+
+ bool bugged = false;
+ bool broken = false;
};
+//We need it for the proxy model
+Q_DECLARE_METATYPE(FtbModpack)
typedef QList<FtbModpack> FtbModpackList;