pathstroke example: Add Q_FALLTHROUGH to unmarked fallthrough seen by GCC 7

Task-number: QTBUG-60635
Change-Id: I10695f96122f1b0859bbe7fadb349efb3c7277a6
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Friedemann Kleint 2017-06-20 14:32:27 +02:00
parent 16799ba394
commit 6e861d8412

View File

@ -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<const QTouchEvent*>(e);