mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 04:53:54 -07:00
lint
This commit is contained in:
parent
ae9ce701f4
commit
2ce9168afb
1 changed files with 3 additions and 1 deletions
|
|
@ -27,6 +27,8 @@
|
||||||
#define GIT_SHORT_HASH_LEN 7
|
#define GIT_SHORT_HASH_LEN 7
|
||||||
|
|
||||||
ReleaseChannel::ReleaseChannel() : netMan(new QNetworkAccessManager(this)), response(nullptr), lastRelease(nullptr)
|
ReleaseChannel::ReleaseChannel() : netMan(new QNetworkAccessManager(this)), response(nullptr), lastRelease(nullptr)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
ReleaseChannel::~ReleaseChannel()
|
ReleaseChannel::~ReleaseChannel()
|
||||||
{
|
{
|
||||||
|
|
@ -74,7 +76,7 @@ bool ReleaseChannel::downloadMatchesCurrentOS(const QString &fileName)
|
||||||
#elif defined(Q_OS_WIN)
|
#elif defined(Q_OS_WIN)
|
||||||
#if Q_PROCESSOR_WORDSIZE == 8 // 64-bit
|
#if Q_PROCESSOR_WORDSIZE == 8 // 64-bit
|
||||||
const QString &version = QSysInfo::productVersion();
|
const QString &version = QSysInfo::productVersion();
|
||||||
if (version.startsWith("10") {
|
if (version.startsWith("10")) {
|
||||||
return fileName.contains("Win10");
|
return fileName.contains("Win10");
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue