diff options
author | David Boddie <dboddie@trolltech.com> | 2009-05-25 18:10:25 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-05-26 04:01:08 (GMT) |
commit | 685deb401401dd9afabc72e7682c9e054695a62c (patch) | |
tree | 12001ba270011e33685b42ba63bf6b2cf9e41c13 /doc/src/snippets | |
parent | ed7614f33c9d9b097d7524c3adee7bf15a48f022 (diff) | |
download | Qt-685deb401401dd9afabc72e7682c9e054695a62c.zip Qt-685deb401401dd9afabc72e7682c9e054695a62c.tar.gz Qt-685deb401401dd9afabc72e7682c9e054695a62c.tar.bz2 |
Doc: Miscellaneous documentation fixes for Qt 4.5.x and later.
Reviewed-by: Trust Me
(cherry picked from commit 8b34bd541c6aa201c4d872210228bce8217a5e03)
Diffstat (limited to 'doc/src/snippets')
-rw-r--r-- | doc/src/snippets/picture/picture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/picture/picture.cpp b/doc/src/snippets/picture/picture.cpp index 4fe2bc4..6a4b1e2 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] |