From b8ca36372be11b9ddddb3daa3d32583d286f19e2 Mon Sep 17 00:00:00 2001 From: Janrupf Date: Sat, 3 Mar 2018 21:22:00 +0100 Subject: GH-2124 First complete implementation, installing is working now! GH-2172 Added sorting --- api/logic/modplatform/PackHelpers.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'api/logic/modplatform/PackHelpers.h') 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 +#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 FtbModpackList; -- cgit v1.2.3