diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-24 17:29:16 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-24 17:29:16 (GMT) |
commit | 8845da82b109b8dd93d7461d01e7ce84a8f49a04 (patch) | |
tree | 4e4b44461de60c6ce66fd6e98f2bc2bba6b6fa7a /doc/src/snippets | |
parent | 4c2460cea7b477a0ebdca7350419650dfdd595b4 (diff) | |
download | Qt-8845da82b109b8dd93d7461d01e7ce84a8f49a04.zip Qt-8845da82b109b8dd93d7461d01e7ce84a8f49a04.tar.gz Qt-8845da82b109b8dd93d7461d01e7ce84a8f49a04.tar.bz2 |
Doc: Fixed snippet bug in QPen class docs
Task-number: QTBUG-17556
Diffstat (limited to 'doc/src/snippets')
-rw-r--r-- | doc/src/snippets/code/src_gui_painting_qpen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/code/src_gui_painting_qpen.cpp b/doc/src/snippets/code/src_gui_painting_qpen.cpp index 6973e0c..8674516 100644 --- a/doc/src/snippets/code/src_gui_painting_qpen.cpp +++ b/doc/src/snippets/code/src_gui_painting_qpen.cpp @@ -47,7 +47,7 @@ painter.setPen(pen); //! [1] QPainter painter(this); -QPen pen(); // creates a default pen +QPen pen; // creates a default pen pen.setStyle(Qt::DashDotLine); pen.setWidth(3); |