summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-05-25 18:10:25 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-05-25 18:10:25 (GMT)
commit8b34bd541c6aa201c4d872210228bce8217a5e03 (patch)
treeba1869e6ac9c4ef1b877904a566997219930e574 /doc/src
parent152d5fb2d97432d92b6b84e6e81c0236d278ac5d (diff)
downloadQt-8b34bd541c6aa201c4d872210228bce8217a5e03.zip
Qt-8b34bd541c6aa201c4d872210228bce8217a5e03.tar.gz
Qt-8b34bd541c6aa201c4d872210228bce8217a5e03.tar.bz2
Doc: Miscellaneous documentation fixes for Qt 4.5.x and later.
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/snippets/picture/picture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/picture/picture.cpp b/doc/src/snippets/picture/picture.cpp
index 07cedbf..be171c6 100644
--- a/doc/src/snippets/picture/picture.cpp
+++ b/doc/src/snippets/picture/picture.cpp
@@ -66,7 +66,7 @@ int main()
QPicture picture;
picture.load("drawing.pic"); // load picture
QPainter painter;
- painter.begin(&myWidget); // paint in myWidget
+ painter.begin(&myImage); // paint in myImage
painter.drawPicture(0, 0, picture); // draw the picture at (0,0)
painter.end(); // painting done
//! [1]