UI: Remove conflicting setlocale call
Qt already sets LC_ALL to "" for non-Windows. We set LC_NUMERIC to "C" afterward for sanity, and we don't want that setting to get smashed.master
parent
fa5a05f188
commit
f186b8c304
|
@ -213,7 +213,6 @@ string GetDefaultVideoSavePath()
|
|||
|
||||
vector<string> GetPreferredLocales()
|
||||
{
|
||||
setlocale(LC_ALL, "");
|
||||
vector<string> matched;
|
||||
string messages = setlocale(LC_MESSAGES, NULL);
|
||||
if (!messages.size() || messages == "C" || messages == "POSIX")
|
||||
|
|
Loading…
Reference in New Issue