summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont_qpa.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-07-21 13:09:24 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-07-21 13:14:58 (GMT)
commit500f8a4368be85a0ae8b7c46012deb0ab0c844ad (patch)
treeb81d7a3e13c494b0681c0dba7a831095b7850d82 /src/gui/text/qrawfont_qpa.cpp
parent89fb49ab13949d5ed1fb8bf0d306d9f1b2c38a71 (diff)
downloadQt-500f8a4368be85a0ae8b7c46012deb0ab0c844ad.zip
Qt-500f8a4368be85a0ae8b7c46012deb0ab0c844ad.tar.gz
Qt-500f8a4368be85a0ae8b7c46012deb0ab0c844ad.tar.bz2
Switch to use floating point pixelSize in QRawFont completely
Reviewed-by: Eskil
Diffstat (limited to 'src/gui/text/qrawfont_qpa.cpp')
-rw-r--r--src/gui/text/qrawfont_qpa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qrawfont_qpa.cpp b/src/gui/text/qrawfont_qpa.cpp
index 3492946..6a69804 100644
--- a/src/gui/text/qrawfont_qpa.cpp
+++ b/src/gui/text/qrawfont_qpa.cpp
@@ -53,7 +53,7 @@ void QRawFontPrivate::platformCleanUp()
{
}
-void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, int pixelSize,
+void QRawFontPrivate::platformLoadFromData(const QByteArray &fontData, qreal pixelSize,
QFont::HintingPreference hintingPreference)
{
Q_ASSERT(fontEngine == 0);