From f4d685f7bdad479e6e76344917bb3fe5228ac117 Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Sun, 14 Feb 2021 07:36:07 +0800 Subject: [PATCH] remove QDialog.exec_ shim only used by PrinterExport.py which is currently disabled --- pyqtgraph/Qt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pyqtgraph/Qt.py b/pyqtgraph/Qt.py index 91c4d1b0..f2b01d69 100644 --- a/pyqtgraph/Qt.py +++ b/pyqtgraph/Qt.py @@ -435,7 +435,6 @@ if QT_LIB == PYQT6: QtGui.QDropEvent.posF = lambda o : o.position() QtWidgets.QApplication.exec_ = QtWidgets.QApplication.exec - QtWidgets.QDialog.exec_ = lambda o : o.exec() QtGui.QDrag.exec_ = lambda o : o.exec() # PyQt6 6.0.0 has a bug where it can't handle certain Type values returned