summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 08:40:41 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-15 12:08:30 (GMT)
commit271358459d605e909f4ec093b971a420ff730e8f (patch)
tree409bca4cd46a1ea000d583f229ffee468ef5e30f /src/corelib/tools/qlocale.cpp
parent1eafb5c771a10377216af0f2be873c08d6cd4e27 (diff)
downloadQt-271358459d605e909f4ec093b971a420ff730e8f.zip
Qt-271358459d605e909f4ec093b971a420ff730e8f.tar.gz
Qt-271358459d605e909f4ec093b971a420ff730e8f.tar.bz2
fix warnings for mingw in QtCore
Diffstat (limited to 'src/corelib/tools/qlocale.cpp')
-rw-r--r--src/corelib/tools/qlocale.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale.cpp b/src/corelib/tools/qlocale.cpp
index fef1931..296d5a0 100644
--- a/src/corelib/tools/qlocale.cpp
+++ b/src/corelib/tools/qlocale.cpp
@@ -413,8 +413,8 @@ QByteArray getWinLocaleName(LCID id = LOCALE_USER_DEFAULT)
result = envVarLocale();
QChar lang[3];
QChar cntry[2];
- if ( result == "C" || !result.isEmpty()
- && splitLocaleName(QString::fromLocal8Bit(result), lang, cntry) ) {
+ if ( result == "C" || (!result.isEmpty()
+ && splitLocaleName(QString::fromLocal8Bit(result), lang, cntry)) ) {
long id = 0;
bool ok = false;
id = qstrtoll(result.data(), 0, 0, &ok);