summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-06-23 13:15:01 +0200
committerSamuel Rødal <sroedal@trolltech.com>2009-06-23 14:17:30 +0200
commit4effe88116bc2a21ec44eea9fbc740283cd73190 (patch)
tree23cee1ff79e1a901098259500eec3106a80b746d /src/gui/painting
parenta8a0c956f747cd09ca04cfe8b33d09a8476c6453 (diff)
Added QPen warning when setting dash pattern with non-positive entries.
Task-number: 256720 Reviewed-by: Trond
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qpen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/painting/qpen.cpp b/src/gui/painting/qpen.cpp
index b0da5e2f96..36059f256c 100644
--- a/src/gui/painting/qpen.cpp
+++ b/src/gui/painting/qpen.cpp
@@ -462,8 +462,8 @@ QVector<qreal> QPen::dashPattern() const
Sets the dash pattern for this pen to the given \a pattern. This
implicitly converts the style of the pen to Qt::CustomDashLine.
- The pattern must be specified as an even number of entries where
- the entries 1, 3, 5... are the dashes and 2, 4, 6... are the
+ The pattern must be specified as an even number of positive entries
+ where the entries 1, 3, 5... are the dashes and 2, 4, 6... are the
spaces. For example:
\table 100%