bool operator>(const Version &one, const Version &two) { if(Version::compareVersion(one.getMajor(), two.getMajor(), one.getMinor(), two.getMinor(), one.getMini(), two.getMini(), one.getBuild(), two.getBuild()) == 1) { return true; } return false; }
Version::Version(const Version &other) { m_major = other.getMajor(); m_minor = other.getMinor(); m_mini = other.getMini(); m_build = other.getBuild(); }