From b54839b8976b5c1455c838828f2bc92cdeb178eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Wed, 2 Mar 2016 03:03:44 +0100 Subject: NOISSUE eliminate timestamp strings --- logic/minecraft/MinecraftVersion.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'logic/minecraft/MinecraftVersion.cpp') 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); -- cgit v1.2.3