Fix compatibility with < Qt 6.1.
This commit is contained in:
parent
d5f5e0cb3f
commit
e6533cb697
|
@ -298,7 +298,7 @@ auto VGAnalytics::TerritoryCode() -> QString
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 1, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 1, 0)
|
||||||
auto VGAnalytics::GetTerritoryCode(QLocale::Country territory) -> QString
|
auto VGAnalytics::GetTerritoryCode(QLocale::Country territory) -> QString
|
||||||
{
|
{
|
||||||
if (territory == QLocale::AnyTerritory || territory > QLocale::LastTerritory)
|
if (territory == QLocale::AnyCountry || territory > QLocale::LastCountry)
|
||||||
{
|
{
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user