summaryrefslogtreecommitdiffstats
path: root/logic/lists/ForgeVersionList.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/lists/ForgeVersionList.h')
-rw-r--r--logic/lists/ForgeVersionList.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/logic/lists/ForgeVersionList.h b/logic/lists/ForgeVersionList.h
index 8d4a2d46..ca6b27bc 100644
--- a/logic/lists/ForgeVersionList.h
+++ b/logic/lists/ForgeVersionList.h
@@ -26,7 +26,7 @@
#include "logic/net/DownloadJob.h"
class ForgeVersion;
-typedef QSharedPointer<ForgeVersion> PtrForgeVersion;
+typedef QSharedPointer<ForgeVersion> ForgeVersionPtr;
struct ForgeVersion : public BaseVersion
{
@@ -36,7 +36,7 @@ struct ForgeVersion : public BaseVersion
};
virtual QString name()
{
- return "Forge " + jobbuildver + " (" + mcver + ")";
+ return "Forge " + jobbuildver;
};
virtual QString typeString() const
{
@@ -71,8 +71,12 @@ public:
virtual BaseVersionPtr getLatestStable() const;
+ virtual QVariant data(const QModelIndex& index, int role) const;
+ virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;
+ virtual int columnCount(const QModelIndex& parent) const;
+
protected:
- QList<BaseVersionPtr > m_vlist;
+ QList<BaseVersionPtr> m_vlist;
bool m_loaded;