summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MinecraftVersion.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-03-02 03:03:44 +0100
committerPetr Mrázek <peterix@gmail.com>2016-03-02 09:16:58 +0100
commitb54839b8976b5c1455c838828f2bc92cdeb178eb (patch)
tree35919484c98a541aff87622aef30bee37ef464cf /logic/minecraft/MinecraftVersion.cpp
parent80b81c2c1e2185b457d167d3d446ac2e1ca95579 (diff)
downloadMultiMC-b54839b8976b5c1455c838828f2bc92cdeb178eb.tar
MultiMC-b54839b8976b5c1455c838828f2bc92cdeb178eb.tar.gz
MultiMC-b54839b8976b5c1455c838828f2bc92cdeb178eb.tar.lz
MultiMC-b54839b8976b5c1455c838828f2bc92cdeb178eb.tar.xz
MultiMC-b54839b8976b5c1455c838828f2bc92cdeb178eb.zip
NOISSUE eliminate timestamp strings
Diffstat (limited to 'logic/minecraft/MinecraftVersion.cpp')
-rw-r--r--logic/minecraft/MinecraftVersion.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/logic/minecraft/MinecraftVersion.cpp b/logic/minecraft/MinecraftVersion.cpp
index 4225fa50..8a1ac501 100644
--- a/logic/minecraft/MinecraftVersion.cpp
+++ b/logic/minecraft/MinecraftVersion.cpp
@@ -192,14 +192,12 @@ void MinecraftVersion::applyTo(MinecraftProfile *version)
{
version->type = m_type;
}
- if (!m_releaseTimeString.isNull())
+ if (!m_releaseTime.isNull())
{
- version->m_releaseTimeString = m_releaseTimeString;
version->m_releaseTime = m_releaseTime;
}
- if (!m_updateTimeString.isNull())
+ if (!m_updateTime.isNull())
{
- version->m_updateTimeString = m_updateTimeString;
version->m_updateTime = m_updateTime;
}
version->traits.unite(m_traits);