mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-08-27 11:15:29 -05:00
remove qt4 check, not needed
This commit is contained in:
@@ -43,22 +43,12 @@ bool UpdateChecker::downloadMatchesCurrentOS(QVariant build)
|
||||
.contains("osx");
|
||||
}
|
||||
#elif defined(Q_OS_WIN)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||
|
||||
bool UpdateChecker::downloadMatchesCurrentOS(QVariant build)
|
||||
{
|
||||
return build
|
||||
.toMap()["name"]
|
||||
.toString()
|
||||
.contains("qt5")
|
||||
.contains("exe");
|
||||
}
|
||||
#else
|
||||
bool UpdateChecker::downloadMatchesCurrentOS(QVariant build)
|
||||
{
|
||||
return build
|
||||
.toMap()["name"]
|
||||
.toString()
|
||||
.contains("qt4")
|
||||
.contains("exe");
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user