remove now redundant setlocale() call

it was required by the iconv codec and key translation based on current
locale which is no more

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2020-12-15 09:52:39 +00:00
parent 8a192838c2
commit fa09aa4505
4 changed files with 0 additions and 8 deletions

View file

@ -31,7 +31,6 @@
#include <wtf/DateMath.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
#include <time.h>
#include <sys/time.h>

View file

@ -58,7 +58,6 @@
#include "qeventdispatcher_unix_p.h"
#include <stdlib.h>
#include <locale.h>
QT_BEGIN_NAMESPACE
@ -377,8 +376,6 @@ void QCoreApplication::init()
{
Q_D(QCoreApplication);
setlocale(LC_ALL, ""); // use correct char set mapping
Q_ASSERT_X(!self, "QCoreApplication", "there should be only one application object");
QCoreApplication::self = this;

View file

@ -86,7 +86,6 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <locale.h>
#include <pwd.h>
#ifdef QT_RX71_MULTITOUCH

View file

@ -43,9 +43,6 @@
#include "qfontinfo.h"
#include "qfontmetrics.h"
#ifdef Q_WS_X11
#include <locale.h>
#endif
#include <stdlib.h>
#include <limits.h>