diff options
Diffstat (limited to 'examples/animation/stickman/graphicsview.cpp')
-rw-r--r-- | examples/animation/stickman/graphicsview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation/stickman/graphicsview.cpp b/examples/animation/stickman/graphicsview.cpp index a42dd1600b..0d422ab1d2 100644 --- a/examples/animation/stickman/graphicsview.cpp +++ b/examples/animation/stickman/graphicsview.cpp @@ -54,7 +54,7 @@ void GraphicsView::keyPressEvent(QKeyEvent *e) emit keyPressed(Qt::Key(e->key())); } -void GraphicsView::resizeEvent(QResizeEvent *event) +void GraphicsView::resizeEvent(QResizeEvent *) { fitInView(scene()->sceneRect()); } |