Skip to content

Commit

Permalink
Update Qt.py
Browse files Browse the repository at this point in the history
Fix for really old versions of PySide2
  • Loading branch information
mottosso authored May 9, 2024
1 parent 84e3a6a commit 5cd97b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Qt.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,10 @@ def createWidget(self, class_name, parent=None, name=""):
},
"PySide2": {
"QtCore.QStringListModel": "QtCore.QStringListModel",

# Older versions of PySide2 still left this in QtGui, this accounts for those too
"QtGui.QStringListModel": "QtCore.QStringListModel",

"QtCore.Property": "QtCore.Property",
"QtCore.Signal": "QtCore.Signal",
"QtCore.Slot": "QtCore.Slot",
Expand Down

0 comments on commit 5cd97b2

Please sign in to comment.