summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/affine/xform.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/painting/affine/xform.h')
-rw-r--r--examples/widgets/painting/affine/xform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/painting/affine/xform.h b/examples/widgets/painting/affine/xform.h
index f2eed99b4f..1dce3b26da 100644
--- a/examples/widgets/painting/affine/xform.h
+++ b/examples/widgets/painting/affine/xform.h
@@ -125,7 +125,7 @@ signals:
protected:
void timerEvent(QTimerEvent *e) override;
-#ifndef QT_NO_WHEELEVENT
+#if QT_CONFIG(wheelevent)
void wheelEvent(QWheelEvent *) override;
#endif