summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@digia.com>2014-03-19 15:48:08 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-20 10:36:34 +0100
commit9508ea4c501c42b9c39dd6026a543d5766836097 (patch)
tree36c38eaabd91c979c9b461ec1f995ba33c27fe42 /src/gui/painting
parent1f6e461533f531a25bdb9cf60c1cafc125aa06ba (diff)
Correct QPainter::setPen() documentation.
The default pen width is 1 as of Qt 5. Task-number: QTBUG-37277 Change-Id: I5b7b9c2019bd0e812384e67812b7bcfde37d0b53 Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index e35cdd370e..fe5fc051df 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -3828,7 +3828,7 @@ Qt::BGMode QPainter::backgroundMode() const
/*!
\overload
- Sets the painter's pen to have style Qt::SolidLine, width 0 and the
+ Sets the painter's pen to have style Qt::SolidLine, width 1 and the
specified \a color.
*/