summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2011-02-24 19:59:35 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2011-02-24 19:59:35 (GMT)
commita27bce53b8d629c6eb41804476594abd0c9a482f (patch)
tree7a1b31ed06ef39b73ad32f387e021b44fbb13ece /doc/src/snippets
parentd9a49edc46beb81a80a94ac07543cf7b86856ed3 (diff)
parent5b447dfb035c18b05341358f2c43951f33ded3e5 (diff)
downloadQt-a27bce53b8d629c6eb41804476594abd0c9a482f.zip
Qt-a27bce53b8d629c6eb41804476594abd0c9a482f.tar.gz
Qt-a27bce53b8d629c6eb41804476594abd0c9a482f.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/code/src_gui_painting_qpen.cpp2
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);