summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstring.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/qstring.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/qstring.cpp')
-rw-r--r--src/corelib/tools/qstring.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qstring.cpp b/src/corelib/tools/qstring.cpp
index b160b90..7cca339 100644
--- a/src/corelib/tools/qstring.cpp
+++ b/src/corelib/tools/qstring.cpp
@@ -3480,7 +3480,7 @@ QByteArray QString::toAscii() const
return toLatin1();
}
-#ifndef Q_WS_MAC
+#if !defined(Q_WS_MAC) && defined(Q_OS_UNIX)
static QByteArray toLocal8Bit_helper(const QChar *data, int length)
{
#ifndef QT_NO_TEXTCODEC