summaryrefslogtreecommitdiffstats
path: root/examples/touch/pinchzoom/graphicsview.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/touch/pinchzoom/graphicsview.h')
-rw-r--r--examples/touch/pinchzoom/graphicsview.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/touch/pinchzoom/graphicsview.h b/examples/touch/pinchzoom/graphicsview.h
index 5553f4b6d6..63728acaf6 100644
--- a/examples/touch/pinchzoom/graphicsview.h
+++ b/examples/touch/pinchzoom/graphicsview.h
@@ -48,7 +48,7 @@ class GraphicsView : public QGraphicsView
public:
GraphicsView(QGraphicsScene *scene = 0, QWidget *parent = 0);
- bool viewportEvent(QEvent *event);
+ bool viewportEvent(QEvent *event) Q_DECL_OVERRIDE;
private:
qreal totalScaleFactor;