summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2009-10-07 09:20:23 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-10-07 09:20:23 (GMT)
commited9fb96a626c284cebd4fcd9a2e00f32e202099a (patch)
treefafee1cf1243f1968c2bb835b75dcaf68692adeb /src/gui/text
parent1433798228fd3d1b67b83adfdd72e53884a5c2a0 (diff)
downloadQt-ed9fb96a626c284cebd4fcd9a2e00f32e202099a.zip
Qt-ed9fb96a626c284cebd4fcd9a2e00f32e202099a.tar.gz
Qt-ed9fb96a626c284cebd4fcd9a2e00f32e202099a.tar.bz2
Fix compilation with -pedantic
Merge-request: 1716 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfontengine.cpp b/src/gui/text/qfontengine.cpp
index e5a88fc..21b9cca 100644
--- a/src/gui/text/qfontengine.cpp
+++ b/src/gui/text/qfontengine.cpp
@@ -1160,7 +1160,7 @@ Q_GLOBAL_STATIC_WITH_INITIALIZER(QVector<QRgb>, qt_grayPalette, {
QRgb *it = x->data();
for (int i = 0; i < x->size(); ++i, ++it)
*it = 0xff000000 | i | (i<<8) | (i<<16);
-});
+})
const QVector<QRgb> &QFontEngine::grayPalette()
{