diff --git a/srcpkgs/python3-occ/patches/python3.10.patch b/srcpkgs/python3-occ/patches/python3.10.patch deleted file mode 100644 index e192608fd3b..00000000000 --- a/srcpkgs/python3-occ/patches/python3.10.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/Display/SimpleGui.py b/src/Display/SimpleGui.py -index 42705a82..6a274c16 100644 ---- a/src/Display/SimpleGui.py -+++ b/src/Display/SimpleGui.py -@@ -161,8 +161,8 @@ def init_display(backend_str: Optional[str]=None, - def centerOnScreen(self) -> None: - '''Centers the window on the screen.''' - resolution = QtWidgets.QApplication.desktop().screenGeometry() -- x = (resolution.width() - self.frameSize().width()) / 2 -- y = (resolution.height() - self.frameSize().height()) / 2 -+ x = (resolution.width() - self.frameSize().width()) // 2 -+ y = (resolution.height() - self.frameSize().height()) // 2 - self.move(x, y) - - def add_menu(self, menu_name: str) -> None: