Replace use of putenv in test case

This should be using qputenv; putenv is deprecated on MSVC.

Change-Id: I7c27cf5f7955624fa3553b7a34ab11c6fae462b8
Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>
This commit is contained in:
Andrew Knight 2013-10-18 09:26:52 +03:00 committed by The Qt Project
parent 4058b28494
commit 8120083436

View File

@ -47,8 +47,7 @@
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
static char lc_all[] = "LC_ALL=C"; qputenv("LC_ALL", "C");
putenv(lc_all);
QCoreApplication app(argc, argv); QCoreApplication app(argc, argv);
QString string(QChar(0x410)); QString string(QChar(0x410));