diff options
Diffstat (limited to 'doc/src/animation.qdoc')
-rw-r--r-- | doc/src/animation.qdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/animation.qdoc b/doc/src/animation.qdoc index 7a4e778..5675185 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 |