Skip to content

Commit

Permalink
Merge pull request #6 from astrofrog/improvements-pyqt5
Browse files Browse the repository at this point in the history
Added more patching for PyQt5
  • Loading branch information
astrofrog committed Jan 16, 2016
2 parents 36715b2 + d331dc0 commit 1af13e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions qt_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ def _load_pyqt5():
for widget in dir(QtWidgets):
if widget.startswith('Q'):
setattr(QtGui, widget, getattr(QtWidgets, widget))
QtGui.QItemSelection = QtCore.QItemSelection
QtGui.QItemSelectionModel = QtCore.QItemSelectionModel
QtGui.QSortFilterProxyModel = QtCore.QSortFilterProxyModel

register_module(QtCore, 'QtCore')
register_module(QtGui, 'QtGui')
Expand Down

0 comments on commit 1af13e7

Please sign in to comment.