diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-06-04 13:53:49 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-06-08 08:19:14 (GMT) |
commit | 5ce3fbb67b79c3732fd47b296ef9421398ca520c (patch) | |
tree | 7917b4f34095c03562a221e9fdce077f8ec39a5d /src/gui/text/qtextengine.cpp | |
parent | 74a1135341783449970d579b273d00c837ac14b0 (diff) | |
download | Qt-5ce3fbb67b79c3732fd47b296ef9421398ca520c.zip Qt-5ce3fbb67b79c3732fd47b296ef9421398ca520c.tar.gz Qt-5ce3fbb67b79c3732fd47b296ef9421398ca520c.tar.bz2 |
Fix warning in qtextengine compilation
enableHarfbuzz() should only be defined on Mac.
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qtextengine.cpp')
-rw-r--r-- | src/gui/text/qtextengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextengine.cpp b/src/gui/text/qtextengine.cpp index ad4f6d3..e8e6c98 100644 --- a/src/gui/text/qtextengine.cpp +++ b/src/gui/text/qtextengine.cpp @@ -856,7 +856,7 @@ void QTextEngine::shapeLine(const QScriptLine &line) } } -#if !defined(QT_ENABLE_HARFBUZZ_FOR_MAC) +#if !defined(QT_ENABLE_HARFBUZZ_FOR_MAC) && defined(Q_WS_MAC) static bool enableHarfBuzz() { static enum { Yes, No, Unknown } status = Unknown; |