Revert "provide QApplication.exec() for PySide6 6.0"

This reverts commit 3eb69e6d9b.
This commit is contained in:
KIU Shueng Chuan 2021-05-14 05:49:19 +08:00
parent 0754602c3c
commit 0fb0209e43

View File

@ -334,10 +334,6 @@ if QT_LIB == PYSIDE6:
self.setColorAt(pos, color)
QtGui.QGradient.setStops = __setStops
if not hasattr(QtWidgets.QApplication, 'exec'):
# PySide6 6.0 forwards compatibility to PySide6 6.1
QtWidgets.QApplication.exec = QtWidgets.QApplication.exec_
if QT_LIB == PYQT6:
# module.Class.EnumClass.Enum -> module.Class.Enum