diff options
author | Andy Shaw <andy.shaw@digia.com> | 2012-04-19 22:55:33 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-20 00:29:39 +0200 |
commit | a48d9b52c38b60882b8b6a7ec2647ed96358baa8 (patch) | |
tree | 876a6eca56ca118d01d65131d865985fd7c935b5 /src/plugins/platforms/windows/qwindowsfontdatabase.cpp | |
parent | 384eec86e5da7eb789bb0231f6de8b0c1c038e03 (diff) |
Fix compilation with QT_NO_DEBUG_OUTPUT defined
Change-Id: If96e93c08240e0f626f8e465993b2c38b2cad832
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsfontdatabase.cpp')
-rw-r--r-- | src/plugins/platforms/windows/qwindowsfontdatabase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp index 979b2a028b..835c979579 100644 --- a/src/plugins/platforms/windows/qwindowsfontdatabase.cpp +++ b/src/plugins/platforms/windows/qwindowsfontdatabase.cpp @@ -536,6 +536,7 @@ static bool addFontToDatabase(QString familyName, const QString &scriptName, const QFont::Weight weight = weightFromInteger(tm->tmWeight); const QFont::Stretch stretch = QFont::Unstretched; +#ifndef QT_NO_DEBUG_OUTPUT if (QWindowsContext::verboseFonts > 2) { QDebug nospace = qDebug().nospace(); nospace << __FUNCTION__ << familyName << scriptName @@ -550,6 +551,7 @@ static bool addFontToDatabase(QString familyName, const QString &scriptName, << " Style=" << style << " Weight=" << weight << " stretch=" << stretch; } +#endif QString englishName; if (ttf && localizedName(familyName)) |