Don't post deleteLater on invalid canvas contexts
authorUlf Hermann <ulf.hermann@digia.com>
Tue, 9 Sep 2014 14:25:54 +0000 (16:25 +0200)
committerUlf Hermann <ulf.hermann@digia.com>
Wed, 10 Sep 2014 11:58:23 +0000 (13:58 +0200)
commitc5d9dc9367c3d3acf5fdf473c3288c8ccf2f2ef5
treefc029b97aaba9158d490990bcf56d5f5f522d968
parent8996d9a701d0391b9031962a07ced5e36ccc0316
Don't post deleteLater on invalid canvas contexts

QCoreApplication complains about that. The context will only be valid
once it has been requested in one way or another.

Change-Id: Idb44f2541d71355443a5b491078a3040907b1614
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
src/quick/items/context2d/qquickcanvasitem.cpp