summaryrefslogtreecommitdiffstats
path: root/src/svg/qsvgstyle.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@nokia.com>2010-07-22 08:27:58 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2010-07-22 08:27:58 (GMT)
commitbe227b0a01bb28f3ebebedc1aaa65cd8098edd81 (patch)
tree9c4c8f086875826cb1c42fe9d37ed5655555e487 /src/svg/qsvgstyle.cpp
parentc70e3f24a97b82f5ce9ad890fa95369e425a31ac (diff)
downloadQt-be227b0a01bb28f3ebebedc1aaa65cd8098edd81.zip
Qt-be227b0a01bb28f3ebebedc1aaa65cd8098edd81.tar.gz
Qt-be227b0a01bb28f3ebebedc1aaa65cd8098edd81.tar.bz2
Fix the smallFont test failure for Mac and Linux
Reviewed-by: Kim
Diffstat (limited to 'src/svg/qsvgstyle.cpp')
-rw-r--r--src/svg/qsvgstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svg/qsvgstyle.cpp b/src/svg/qsvgstyle.cpp
index 0d1bad9..f228a77 100644
--- a/src/svg/qsvgstyle.cpp
+++ b/src/svg/qsvgstyle.cpp
@@ -241,7 +241,7 @@ void QSvgFontStyle::apply(QPainter *p, const QSvgNode *, QSvgExtraStates &states
}
if (m_sizeSet)
- font.setPointSize(m_qfont.pointSizeF());
+ font.setPointSizeF(m_qfont.pointSizeF());
if (m_styleSet)
font.setStyle(m_qfont.style());