summaryrefslogtreecommitdiffstats
path: root/libmultimc/src
diff options
context:
space:
mode:
Diffstat (limited to 'libmultimc/src')
-rw-r--r--libmultimc/src/instversionlist.cpp18
-rw-r--r--libmultimc/src/minecraftversion.cpp2
2 files changed, 2 insertions, 18 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;
}
diff --git a/libmultimc/src/minecraftversion.cpp b/libmultimc/src/minecraftversion.cpp
index 896c2e18..2e8b4a9b 100644
--- a/libmultimc/src/minecraftversion.cpp
+++ b/libmultimc/src/minecraftversion.cpp
@@ -63,7 +63,7 @@ QString MinecraftVersion::typeName() const
switch (versionType())
{
case OldSnapshot:
- return "Old Snapshot";
+ return "Snapshot";
case Stable:
return "Stable";