diff options
author | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-08-25 15:53:04 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@nokia.com> | 2011-08-25 15:54:16 +0200 |
commit | 5e6605f7b006225f112b92956961974c8c8ad1a9 (patch) | |
tree | 4e00075b970d26f640b952b03a2c32865f6ea3ff /examples/animation/stickman/rectbutton.cpp | |
parent | 794feb002ad468bcfa60d1edc55637273fef5832 (diff) |
Fix building of examples.
Change-Id: Iebb56c81fd13deaa82d8883e3f1529f1a78ebea8
Reviewed-on: http://codereview.qt.nokia.com/3603
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'examples/animation/stickman/rectbutton.cpp')
-rw-r--r-- | examples/animation/stickman/rectbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/stickman/rectbutton.cpp b/examples/animation/stickman/rectbutton.cpp index d45e8abefe..d1bd9e42d1 100644 --- a/examples/animation/stickman/rectbutton.cpp +++ b/examples/animation/stickman/rectbutton.cpp @@ -51,7 +51,7 @@ RectButton::~RectButton() } -void RectButton::mousePressEvent (QGraphicsSceneMouseEvent *event) +void RectButton::mousePressEvent (QGraphicsSceneMouseEvent *) { emit clicked(); } @@ -63,7 +63,7 @@ QRectF RectButton::boundingRect() const } -void RectButton::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) +void RectButton::paint(QPainter *painter, const QStyleOptionGraphicsItem * /* option */, QWidget * /* widget */) { painter->setBrush(Qt::gray); painter->drawRoundedRect(boundingRect(), 5, 5); |