Allow users to filter out MCNostalgia and Snapshots from the version list.

Resolves JIRA issue MMC-9:
	https://jira.forkk.net/browse/MMC-9
This commit is contained in:
Andrew
2013-05-06 12:48:01 -05:00
parent 857a4e4dbe
commit 74133bb172
6 changed files with 72 additions and 22 deletions

View File

@@ -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;
}