Commit 21b5fb70 authored by Pierre Rossi's avatar Pierre Rossi
Browse files

Forward the application locale in the right format


Chromium expects bcp47.

Change-Id: I0403fe38e431bbc184d833009e9343235dc543d9
Reviewed-by: default avatarAndras Becsi <andras.becsi@theqtcompany.com>
Showing with 1 addition and 1 deletion
...@@ -437,7 +437,7 @@ content::LocationProvider *ContentBrowserClientQt::OverrideSystemLocationProvide ...@@ -437,7 +437,7 @@ content::LocationProvider *ContentBrowserClientQt::OverrideSystemLocationProvide
std::string ContentBrowserClientQt::GetApplicationLocale() std::string ContentBrowserClientQt::GetApplicationLocale()
{ {
return QLocale().name().toStdString(); return QLocale().bcp47Name().toStdString();
} }
content::DevToolsManagerDelegate* ContentBrowserClientQt::GetDevToolsManagerDelegate() content::DevToolsManagerDelegate* ContentBrowserClientQt::GetDevToolsManagerDelegate()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment