Commit a7cb4acd authored by Shawn Rutledge's avatar Shawn Rutledge Committed by The Qt Project
Browse files

Don't crash if QQuickPath has less than 4 elements


When running the Qt Cinematic demo on Android, the assertion
ASSERT: "i >= 0 && i < elementCount()" in painting/qpainterpath.cpp
failed because of a zero default size at startup.

Change-Id: I2c46c43319cf71030cf03b1f7c6cdaec782ce11a
Reviewed-by: default avatarSamuel Rødal <samuel.rodal@digia.com>
parent 51665a9e
Showing with 1 addition and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment