diff options
Diffstat (limited to 'examples/widgets/graphicsview/chip/view.h')
-rw-r--r-- | examples/widgets/graphicsview/chip/view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/widgets/graphicsview/chip/view.h b/examples/widgets/graphicsview/chip/view.h index b6cdc41200..90e0951716 100644 --- a/examples/widgets/graphicsview/chip/view.h +++ b/examples/widgets/graphicsview/chip/view.h @@ -60,7 +60,9 @@ public: GraphicsView(View *v) : QGraphicsView(), view(v) { } protected: +#ifndef QT_NO_WHEELEVENT void wheelEvent(QWheelEvent *); +#endif private: View *view; |