summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/text/qstringref/tst_qstringref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/text/qstringref/tst_qstringref.cpp')
-rw-r--r--tests/auto/corelib/text/qstringref/tst_qstringref.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/text/qstringref/tst_qstringref.cpp b/tests/auto/corelib/text/qstringref/tst_qstringref.cpp
index e1fa32f568..f8049ffabc 100644
--- a/tests/auto/corelib/text/qstringref/tst_qstringref.cpp
+++ b/tests/auto/corelib/text/qstringref/tst_qstringref.cpp
@@ -165,7 +165,7 @@ static inline double nan()
void tst_QStringRef::cleanup()
{
- QLocale::setDefault(QString(QLatin1Char('C')));
+ QLocale::setDefault(QLocale(QString(QLatin1Char('C'))));
}
void tst_QStringRef::at()