diff options
author | David Faure <faure@kde.org> | 2012-02-20 18:14:55 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-21 15:28:40 +0100 |
commit | 848d3694f6603a5dd90977c0a0d73f7140633f33 (patch) | |
tree | d0e3ce29870137729782dfd69616e153d03ddc23 /qmake/project.cpp | |
parent | 3f91cde588ad32277ba06d625ed36256ec65f88e (diff) |
qmimetype: Fix test failure when LC_ALL is set.
This code sets LANG=en_US so that the method comment(), which returns a translated
name, can be compared with an expected result in English.
(QMimeType::comment uses QLocale::system().name() and QLocale::system().uiLanguages())
But LANG= has no effect if LC_ALL is set, so LC_ALL needs to be cleared (or set
to en_US) for the test to work.
Change-Id: Icb031057769be9bc8c0fcab65daa45e7bf1d5b18
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'qmake/project.cpp')
0 files changed, 0 insertions, 0 deletions