[GUI] pyside6 broken on recent python
Reported in https://github.com/silx-kit/pyFAI/issues/1852
diff --git a/src/silx/gui/qt/_pyside_dynamic.py b/src/silx/gui/qt/_pyside_dynamic.py
index 80520acf9..625ca1159 100644
--- a/src/silx/gui/qt/_pyside_dynamic.py
+++ b/src/silx/gui/qt/_pyside_dynamic.py
@@ -151,7 +151,7 @@ class UiLoader(QUiLoader):
 
         custom_widget_classes = {}
 
-        for custom_widget in custom_widgets.getchildren():
+        for custom_widget in custom_widgets:
 
             cw_class = custom_widget.find('class').text
             cw_header = custom_widget.find('header').text
['src/silx/gui/qt/_pyside_dynamic.py']