diff options
author | Andrew <forkk@forkk.net> | 2013-05-06 12:48:01 -0500 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-05-06 12:48:29 -0500 |
commit | 74133bb17282dc2df2fcf4e754318122a7a5e6f8 (patch) | |
tree | 0d3e070d06f228944b4dcb58bb9671d625679b50 /libmultimc/src/instversionlist.cpp | |
parent | 857a4e4dbed88b647619c213d731dc460d034820 (diff) | |
download | MultiMC-74133bb17282dc2df2fcf4e754318122a7a5e6f8.tar MultiMC-74133bb17282dc2df2fcf4e754318122a7a5e6f8.tar.gz MultiMC-74133bb17282dc2df2fcf4e754318122a7a5e6f8.tar.lz MultiMC-74133bb17282dc2df2fcf4e754318122a7a5e6f8.tar.xz MultiMC-74133bb17282dc2df2fcf4e754318122a7a5e6f8.zip |
Allow users to filter out MCNostalgia and Snapshots from the version list.
Resolves JIRA issue MMC-9:
https://jira.forkk.net/browse/MMC-9
Diffstat (limited to 'libmultimc/src/instversionlist.cpp')
-rw-r--r-- | libmultimc/src/instversionlist.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/libmultimc/src/instversionlist.cpp b/libmultimc/src/instversionlist.cpp index 7d1bfdb7..fa05efdd 100644 --- a/libmultimc/src/instversionlist.cpp +++ b/libmultimc/src/instversionlist.cpp @@ -39,22 +39,6 @@ const InstVersion *InstVersionList::getLatestStable() return at(0); } -// Column Enum -enum VListColumns -{ - // First column - Name - NameColumn = 0, - - // Second column - Type - TypeColumn, - - // Third column - Timestamp - TimeColumn, - - // Column count - ColCount -}; - QVariant InstVersionList::data(const QModelIndex &index, int role) const { if (!index.isValid()) @@ -141,5 +125,5 @@ int InstVersionList::rowCount(const QModelIndex &parent) const int InstVersionList::columnCount(const QModelIndex &parent) const { - return ColCount; + return 2; } |