--- a/commonlib/types.h Sun Nov 28 23:53:23 2021 +0200 +++ b/commonlib/types.h Mon Dec 06 00:29:47 2021 +0200 @@ -27,6 +27,11 @@ QString name; QString binaryPath; bool isRelease = false; + ZandronumVersion() {} + ZandronumVersion(const QString& name, const QString& binaryPath, const bool isRelease) : + name{name}, + binaryPath{binaryPath}, + isRelease{isRelease} {} }; inline QDataStream& operator<< (QDataStream& out, const ZandronumVersion& version) @@ -39,4 +44,4 @@ return (in >> version.name >> version.binaryPath >> version.isRelease); } -Q_DECLARE_METATYPE (ZandronumVersion) \ No newline at end of file +Q_DECLARE_METATYPE (ZandronumVersion)