aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-21 09:59:45 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-21 09:29:43 +0000
commitfb9666f093f09737a0b9b328513d3e468a8b22f8 (patch)
treeeb13a99323b7d7656e1f6264e95e1de9557e88f9 /sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
parent7e16987d3a0369688dfea1e3d98efdb3e00c7b9c (diff)
Fix some QPixmap-related issues
- static QPixmap *find(QString); has been removed; add a function similar to the overload taking a QPixmapCache::Key. - QPixmap *QLabel::pixmap() has been changed to return QPixmap by value which should no longer require modification. Remove the overloads taking the helper enumeration. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: I17a229fef2bc0604c9c7272942a4947e34803957 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml')
-rw-r--r--sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
index 6d704290d..563676baa 100644
--- a/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside2/PySide2/QtGui/typesystem_gui_common.xml
@@ -1155,6 +1155,9 @@
<add-function signature="find(QPixmapCache::Key&amp;)">
<inject-code file="../glue/qtgui.cpp" snippet="qpixmapcache-find"/>
</add-function>
+ <add-function signature="find(const QString&amp;)">
+ <inject-code file="../glue/qtgui.cpp" snippet="qpixmapcache-find"/>
+ </add-function>
</object-type>
<object-type name="QRegularExpressionValidator"/>