diff --git a/cockatrice/src/client/network/update/client/release_channel.cpp b/cockatrice/src/client/network/update/client/release_channel.cpp index 55103c1cf..fad520b29 100644 --- a/cockatrice/src/client/network/update/client/release_channel.cpp +++ b/cockatrice/src/client/network/update/client/release_channel.cpp @@ -65,7 +65,6 @@ bool ReleaseChannel::downloadMatchesCurrentOS(const QString &fileName) return 13; } } - return QSysInfo::productVersion().split(".")[0].toInt(); }; @@ -75,15 +74,10 @@ bool ReleaseChannel::downloadMatchesCurrentOS(const QString &fileName) return rel_maj == sys_maj; #elif defined(Q_OS_WIN) -#if Q_PROCESSOR_WORDSIZE == 8 // 64-bit const QString &version = QSysInfo::productVersion(); if (version.startsWith("10")) { return fileName.contains("Win10"); } -#else - Q_UNUSED(fileName); - return false; -#endif #else // If the OS doesn't fit one of the above #defines, then it will never match Q_UNUSED(fileName);