summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-05-07 12:58:30 (GMT)
committerBjoern Erik Nilsen <bjorn.nilsen@nokia.com>2009-05-07 14:02:22 (GMT)
commit6b715bc38fc2699c2fd03d18262c236061b9d22d (patch)
treec10a10e34519fa8993c55f6deb0a97d18140d272 /src/gui/text/qfont.cpp
parentafa7788e27ca388987993844f72a8182edbab70f (diff)
downloadQt-6b715bc38fc2699c2fd03d18262c236061b9d22d.zip
Qt-6b715bc38fc2699c2fd03d18262c236061b9d22d.tar.gz
Qt-6b715bc38fc2699c2fd03d18262c236061b9d22d.tar.bz2
Compiler warnings (Mac/Carbon)
Reviewed-by: nrc
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index 24ff10b..f73ffb5 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -913,7 +913,7 @@ void QFont::setPointSize(int pointSize)
void QFont::setPointSizeF(qreal pointSize)
{
if (pointSize <= 0) {
- qWarning("QFont::setPointSizeF: Point size <= 0 (%d), must be greater than 0", pointSize);
+ qWarning("QFont::setPointSizeF: Point size <= 0 (%f), must be greater than 0", pointSize);
return;
}