diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-03 15:57:33 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-03 15:57:33 +0200 |
commit | 13b1b98f7cf8a3b3b2c15dd42f96537b02c00711 (patch) | |
tree | ff3a67221e90eb9aa067e0b0d1f934fd4dd28534 /backend/MinecraftVersion.cpp | |
parent | 2e0cbf393a5320dbf5448ca44a9b5905314b0be8 (diff) | |
download | MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar.gz MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar.lz MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.tar.xz MultiMC-13b1b98f7cf8a3b3b2c15dd42f96537b02c00711.zip |
WTF, I don't even...
Diffstat (limited to 'backend/MinecraftVersion.cpp')
-rw-r--r-- | backend/MinecraftVersion.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/backend/MinecraftVersion.cpp b/backend/MinecraftVersion.cpp index 6f3b1b86..d6e54404 100644 --- a/backend/MinecraftVersion.cpp +++ b/backend/MinecraftVersion.cpp @@ -51,9 +51,6 @@ QString MinecraftVersion::typeName() const case Snapshot: return "Snapshot"; - case MCNostalgia: - return "MCNostalgia"; - default: return QString("Unknown Type %1").arg(versionType()); } @@ -84,21 +81,10 @@ QString MinecraftVersion::etag() const return m_etag; } -MinecraftVersion::VersionSource MinecraftVersion::versionSource() const -{ - return m_versionSource; -}; - -void MinecraftVersion::setVersionSource(VersionSource launcherVersion) -{ - m_versionSource = launcherVersion; -} - InstVersion *MinecraftVersion::copyVersion(InstVersionList *newParent) const { MinecraftVersion *version = new MinecraftVersion( descriptor(), name(), timestamp(), downloadURL(), etag(), newParent); version->setVersionType(versionType()); - version->setVersionSource(VersionSource()); return version; } |