From 8845da82b109b8dd93d7461d01e7ce84a8f49a04 Mon Sep 17 00:00:00 2001 From: Geir Vattekar Date: Thu, 24 Feb 2011 18:29:16 +0100 Subject: Doc: Fixed snippet bug in QPen class docs Task-number: QTBUG-17556 --- doc/src/snippets/code/src_gui_painting_qpen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v0.12