Direct2D QPA: Add missing break statement

Change-Id: Ib40daa1ba56cce423b29ac8f1ab50e4638980728
Reviewed-by: Risto Avila <risto.avila@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Louai Al-Khanji 2014-05-23 08:01:43 +03:00 committed by The Qt Project
parent 9f4881297d
commit 0057507184

View File

@ -469,6 +469,7 @@ public:
break; break;
case Qt::RoundCap: case Qt::RoundCap:
props.startCap = props.endCap = props.dashCap = D2D1_CAP_STYLE_ROUND; props.startCap = props.endCap = props.dashCap = D2D1_CAP_STYLE_ROUND;
break;
case Qt::FlatCap: case Qt::FlatCap:
default: default:
props.startCap = props.endCap = props.dashCap = D2D1_CAP_STYLE_FLAT; props.startCap = props.endCap = props.dashCap = D2D1_CAP_STYLE_FLAT;