diff options
author | Szabolcs David <davidsz@inf.u-szeged.hu> | 2016-11-21 07:08:29 -0800 |
---|---|---|
committer | Szabolcs David <davidsz@inf.u-szeged.hu> | 2016-11-23 09:16:36 +0000 |
commit | a5c20a32def14aae8d3449408fa86111f771c95e (patch) | |
tree | a95458dca2a1f23d1661931e698a9e9509580ff6 | |
parent | 11ddafd4eeb19eb4961ed0f4b6bc14d0636fb181 (diff) |
Force tst_QWebEnginePage to use English language
Some tests were failing with non-english settings.
Change-Id: Iebc4dc06217688955cdc7291aca73a2b0c628698
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp index 99905a712..f16c42976 100644 --- a/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp +++ b/tests/auto/widgets/qwebenginepage/tst_qwebenginepage.cpp @@ -296,6 +296,7 @@ void tst_QWebEnginePage::cleanupFiles() void tst_QWebEnginePage::initTestCase() { + QLocale::setDefault(QLocale("en")); cleanupFiles(); // In case there are old files from previous runs // Set custom path since the CI doesn't install test plugins. |