aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2022-08-19 16:16:23 +0200
committerIvan Solovev <ivan.solovev@qt.io>2022-08-26 12:49:33 +0200
commit4089ce1bc508ea8c3faf40dda7a5c738cd8656ec (patch)
treee76559587478d936da08736c50090a647d478765 /tests/auto/qml/qqmllocale/tst_qqmllocale.cpp
parent7e149a310dafe92e74af3258822afefb857cba2c (diff)
QML tests: port away from deprecated QLocale::nativeCountryName()
... and use nativeTerritoryName() instead. This allows to build the tests without deprecated APIs. Task-number: QTBUG-104858 Change-Id: Ia66f2e05fd033e1ca6da93b58dbcbccae3448ec5 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmllocale/tst_qqmllocale.cpp')
-rw-r--r--tests/auto/qml/qqmllocale/tst_qqmllocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp b/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp
index 90420b7630..130731b9b1 100644
--- a/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp
+++ b/tests/auto/qml/qqmllocale/tst_qqmllocale.cpp
@@ -154,7 +154,7 @@ void tst_qqmllocale::addPropertyData(const QString &l)
LOCALE_PROP(QString,amText),
LOCALE_PROP(QString,pmText),
LOCALE_PROP(QString,nativeLanguageName),
- LOCALE_PROP(QString,nativeCountryName),
+ LOCALE_PROP(QString,nativeTerritoryName),
LOCALE_PROP(QString,decimalPoint),
LOCALE_PROP(QString,groupSeparator),
LOCALE_PROP(QString,percent),