summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/chip/view.h')
-rw-r--r--examples/widgets/graphicsview/chip/view.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/graphicsview/chip/view.h b/examples/widgets/graphicsview/chip/view.h
index 2d174250c2..89b2e813f1 100644
--- a/examples/widgets/graphicsview/chip/view.h
+++ b/examples/widgets/graphicsview/chip/view.h
@@ -69,7 +69,7 @@ public:
GraphicsView(View *v) : QGraphicsView(), view(v) { }
protected:
-#ifndef QT_NO_WHEELEVENT
+#if QT_CONFIG(wheelevent)
void wheelEvent(QWheelEvent *) override;
#endif