summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/tools/qlocale.cpp')
-rw-r--r--src/corelib/tools/qlocale.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp
index 1df4fa0..dd41154 100644
--- a/src/corelib/tools/qlocale.cpp
+++ b/src/corelib/tools/qlocale.cpp
@@ -1460,9 +1460,9 @@ bool QLocalePrivate::isUninitializedSystemLocale() const
return this == maybeSystemPrivate() && m_language_id == 0;
}
-QVariant QLocalePrivate::querySystemLocale(QSystemLocale::QueryType type, const QVariant &in) const
+QVariant QLocalePrivate::querySystemLocale(int type, const QVariant &in) const
{
- QVariant res = systemLocale()->query(type, in);
+ QVariant res = systemLocale()->query(QSystemLocale::QueryType(type), in);
if (res.isNull() && isUninitializedSystemLocale()) {
// if we were not able to get data from the system, initialize the
// system locale private data (which is essentially equals to this)