Commit e865df80 authored by Samuel Rødal's avatar Samuel Rødal Committed by The Qt Project
Browse files

Fixed crash in QQuickCanvasItem.


The d->contextInitialized variable is useless as it gets out of sync
with d->context when the latter is set to 0. Simply checking that
d->context is non-null fixes some crashes.

Task-number: QTBUG-30810

Change-Id: I474a807a402396b170ba45ae7546781eea92b481
Reviewed-by: default avatarGunnar Sletta <gunnar.sletta@digia.com>
parent ae50eaa4
Showing with 14 additions and 15 deletions
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