aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-03 10:31:07 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-04-04 20:48:44 +0200
commit11126a9811b21886acdac1e484a92044d7ffd5a2 (patch)
treecb9849d5a9cd7873a2a8c36e65017e39b689a32b /sources
parent9642f5d0afb7ca78d1a64328a3a5ee40e7d095c8 (diff)
PySide2: Fix lockups in QMetaObject.invokeMethod with BlockingQueuedConnection
Add allow-thread. Change-Id: I7feba9761a52c273cf4500a42dfbea0463d6040f Fixes: PYSIDE-1253 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources')
-rw-r--r--sources/pyside2/PySide2/QtCore/typesystem_core_common.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
index f64a8fd73..b418d2689 100644
--- a/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
+++ b/sources/pyside2/PySide2/QtCore/typesystem_core_common.xml
@@ -2885,6 +2885,7 @@
<object-type name="Connection">
<include file-name="qobjectdefs.h" location="global"/>
</object-type>
+ <modify-function signature="^invokeMethod\(" allow-thread="yes"/>
</object-type>
<value-type name="QMetaProperty" >
<!-- This isn't part of Qt public API -->