Skip to content

Commit 5cd97b2

Browse files
authored
Update Qt.py
Fix for really old versions of PySide2
1 parent 84e3a6a commit 5cd97b2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Qt.py

+4
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,10 @@ def createWidget(self, class_name, parent=None, name=""):
966966
},
967967
"PySide2": {
968968
"QtCore.QStringListModel": "QtCore.QStringListModel",
969+
970+
# Older versions of PySide2 still left this in QtGui, this accounts for those too
971+
"QtGui.QStringListModel": "QtCore.QStringListModel",
972+
969973
"QtCore.Property": "QtCore.Property",
970974
"QtCore.Signal": "QtCore.Signal",
971975
"QtCore.Slot": "QtCore.Slot",

0 commit comments

Comments
 (0)