summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/VersionFile.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/VersionFile.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/VersionFile.cpp')
-rw-r--r--logic/minecraft/VersionFile.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/logic/minecraft/VersionFile.cpp b/logic/minecraft/VersionFile.cpp
index 6e2af603..08f53a37 100644
--- a/logic/minecraft/VersionFile.cpp
+++ b/logic/minecraft/VersionFile.cpp
@@ -75,14 +75,12 @@ void VersionFile::applyTo(MinecraftProfile *version)
{
version->type = 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;
}
}