summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-05-18 12:06:31 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-05-18 12:06:31 (GMT)
commitad17d5fcaa5984e7f11e3c8a514a24264890c827 (patch)
treeb75693f4b9e29520d87f9cb606e36eeaa7e88f19 /doc/src
parent9aba165d0ca970949bcc5fc590569ea58d992626 (diff)
downloadQt-ad17d5fcaa5984e7f11e3c8a514a24264890c827.zip
Qt-ad17d5fcaa5984e7f11e3c8a514a24264890c827.tar.gz
Qt-ad17d5fcaa5984e7f11e3c8a514a24264890c827.tar.bz2
Fixed access to members of an object.
Reviewed-by: David Boddie
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/animation.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/animation.qdoc b/doc/src/animation.qdoc
index f3baf71..b4e603c 100644
--- a/doc/src/animation.qdoc
+++ b/doc/src/animation.qdoc
@@ -271,10 +271,10 @@
\code
QPushButton *bonnie = new QPushButton("Bonnie");
- bonnie.show();
+ bonnie->show();
QPushButton *clyde = new QPushButton("Clyde");
- clyde.show();
+ clyde->show();
QPropertyAnimation *anim1 = new QPropertyAnimation(bonnie, "geometry");
// Set up anim1