From 70199a43a978649d87c5b2815808c4a04902c6e0 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 16 Nov 2018 18:52:56 +0100 Subject: Fix for SpinBox crash in Qt Quick Designer The crash was not 100% reliable and depends on the order in the hash(). Something in beginDeferred() has a side effect on deferData->bindings and an element gets deleted. This causes a crash while iterating (++it). Therefore we do a copy of the hash. I added a regression test. The test did only crash for SpinBox and it did only crash roughly half the time. Task-number: QTBUG-71942 Change-Id: I339e0a4382f97db44f6ff2e9f07f2be7278d1e24 Reviewed-by: Mitch Curtis --- tests/auto/auto.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/auto.pro') diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro index d4e0c604..d528b848 100644 --- a/tests/auto/auto.pro +++ b/tests/auto/auto.pro @@ -5,6 +5,7 @@ SUBDIRS += \ controls \ cursor \ customization \ + designer \ focus \ font \ palette \ -- cgit v1.2.3