summaryrefslogtreecommitdiffstats
path: root/examples/widgets/graphicsview/chip/view.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/graphicsview/chip/view.cpp')
-rw-r--r--examples/widgets/graphicsview/chip/view.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/graphicsview/chip/view.cpp b/examples/widgets/graphicsview/chip/view.cpp
index 79b173bec7..491f1a54cf 100644
--- a/examples/widgets/graphicsview/chip/view.cpp
+++ b/examples/widgets/graphicsview/chip/view.cpp
@@ -64,7 +64,7 @@
#endif
#include <qmath.h>
-#ifndef QT_NO_WHEELEVENT
+#if QT_CONFIG(wheelevent)
void GraphicsView::wheelEvent(QWheelEvent *e)
{
if (e->modifiers() & Qt::ControlModifier) {