mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
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:
parent
8a192838c2
commit
fa09aa4505
4 changed files with 0 additions and 8 deletions
|
@ -31,7 +31,6 @@
|
|||
#include <wtf/DateMath.h>
|
||||
|
||||
#include <limits.h>
|
||||
#include <locale.h>
|
||||
#include <math.h>
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -86,7 +86,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#include <pwd.h>
|
||||
|
||||
#ifdef QT_RX71_MULTITOUCH
|
||||
|
|
|
@ -43,9 +43,6 @@
|
|||
#include "qfontinfo.h"
|
||||
#include "qfontmetrics.h"
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
#include <locale.h>
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <limits.h>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue