diff --git a/examples/widgets/painting/pathstroke/pathstroke.cpp b/examples/widgets/painting/pathstroke/pathstroke.cpp index dc10457d279..1e2f75b2a51 100644 --- a/examples/widgets/painting/pathstroke/pathstroke.cpp +++ b/examples/widgets/painting/pathstroke/pathstroke.cpp @@ -600,6 +600,7 @@ bool PathStrokeRenderer::event(QEvent *e) switch (e->type()) { case QEvent::TouchBegin: touchBegin = true; + Q_FALLTHROUGH(); case QEvent::TouchUpdate: { const QTouchEvent *const event = static_cast(e);