summaryrefslogtreecommitdiff
path: root/dev-python/QtPy/files/QtPy-1.9.0-python3_9.patch
blob: 7a3d812f177171d0b6ef331d3150056a16bd8c9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/qtpy/uic.py b/qtpy/uic.py
index 07d7a78..84525ab 100644
--- a/qtpy/uic.py
+++ b/qtpy/uic.py
@@ -181,7 +181,7 @@ else:
 
         custom_widget_classes = {}
 
-        for custom_widget in custom_widgets.getchildren():
+        for custom_widget in list(custom_widgets):
 
             cw_class = custom_widget.find('class').text
             cw_header = custom_widget.find('header').text