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
jpark37 2022-02-27 11:37:49 -08:00 committed by Jim
parent fa5a05f188
commit f186b8c304
1 changed files with 0 additions and 1 deletions

View File

@ -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")