diff options
author | Samuel Rødal <samuel.rodal@digia.com> | 2013-04-23 09:38:19 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-23 09:48:14 +0200 |
commit | e865df80a907ceb3354a3369f9467022f451d692 (patch) | |
tree | 4b4f343015a93c66490c2a8cee8882d38f7e708e /tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp | |
parent | ae50eaa4109db683b121106f3c9bf497c603a88d (diff) |
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: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'tests/auto/quick/qquicktextinput/tst_qquicktextinput.cpp')
0 files changed, 0 insertions, 0 deletions