mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-25 00:12:17 -05:00
Remove unnecessary compatibility code
This commit is contained in:
parent
ef4ffa528b
commit
8c15083f14
@ -141,8 +141,7 @@ if (QT_VERSION >= 0x060000):
|
||||
QMetaType.Type.__eq__ = lambda t1, t2: _force_int(t1) == _force_int(t2)
|
||||
|
||||
# These types aren't IntEnums or IntFlags, so patch that back in
|
||||
Qt.ItemFlag.__int__ = _force_int
|
||||
Qt.ItemFlag.__eq__ = lambda t1, t2: _force_int(t1) == _force_int(t2)
|
||||
# See discussion at https://www.riverbankcomputing.com/pipermail/pyqt/2024-February/045715.html
|
||||
Qt.CheckState.__int__ = _force_int
|
||||
Qt.CheckState.__eq__ = lambda t1, t2: _force_int(t1) == _force_int(t2)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user