aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-11-05 11:41:41 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-11-05 15:28:57 +0000
commitcd3e246492f1578990a99251841e9fcc01bf1099 (patch)
tree646e8fc2d2c9e84384d6ee3b0db2e8295e9ab7bd
parentfb7b64aff910d777428948400bc9c375ec6af4e0 (diff)
Allow threads in QtGui.QTextDocument.print_
Reaction on a question on IRC (Vincent Michel @vxgmichel Nov 03 14:30) Change-Id: I979dc2ccb110835daec2904e3c62715deb9c7f08 Task-number: PYSIDE-803 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 3d903c91f6e00e8cff75e7cc8a0619008dd6c59f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
index bc2c0fb64..82098e01a 100644
--- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
@@ -1778,7 +1778,7 @@
<define-ownership class="target" owner="target"/>
</modify-argument>
</modify-function>
- <modify-function signature="print(QPagedPaintDevice*)const" rename="print_"/>
+ <modify-function signature="print(QPagedPaintDevice*)const" allow-thread="yes" rename="print_"/>
</object-type>
<object-type name="QTextDocumentWriter" since="4.5"/>
<object-type name="QTextTable">