From 9508ea4c501c42b9c39dd6026a543d5766836097 Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Wed, 19 Mar 2014 15:48:08 +0100 Subject: [PATCH] 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 --- src/gui/painting/qpainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */