aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMÃ¥rten Nordheim <marten.nordheim@qt.io>2022-03-08 17:03:47 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-03-10 04:31:39 +0000
commite4ee998824959979cd53d8f9662a835f068d0a08 (patch)
tree2e0b2096fc59d2da23056333e445153ad4864393
parent7eac1be682b68be8468f1c07dd1867b1805ca068 (diff)
Suppress QLocale::nativeCountryName deprecation
Change-Id: Iba1799b94b63e4bf4d6aa8333fae867e4d08f429 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 473663128eaaf1c92ada255ac6ef1101c8bda790) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--src/qml/qml/qqmllocale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmllocale.cpp b/src/qml/qml/qqmllocale.cpp
index 3589dce3f0..1794a27a9d 100644
--- a/src/qml/qml/qqmllocale.cpp
+++ b/src/qml/qml/qqmllocale.cpp
@@ -703,7 +703,7 @@ ReturnedValue QQmlLocaleData::method_get_ ## VARIABLE (const QV4::FunctionObject
LOCALE_STRING_PROPERTY(name)
LOCALE_STRING_PROPERTY(nativeLanguageName)
-LOCALE_STRING_PROPERTY(nativeCountryName)
+QT_IGNORE_DEPRECATIONS(LOCALE_STRING_PROPERTY(nativeCountryName))
LOCALE_STRING_PROPERTY(decimalPoint)
LOCALE_STRING_PROPERTY(groupSeparator)
LOCALE_STRING_PROPERTY(percent)