From cb1ce3362a65892b3e778931b91ddecc7294bbb5 Mon Sep 17 00:00:00 2001 From: Baowei Du <517883875@qq.com> Date: Fri, 16 Sep 2022 11:34:50 +0800 Subject: [PATCH] fix QPainter.RenderHint from QPainter.RenderHints In pyqt6 6.3.1, only QPainter.RenderHint is valid --- translated/pyqt6/painting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translated/pyqt6/painting.md b/translated/pyqt6/painting.md index 9a5e74d..b19eea2 100644 --- a/translated/pyqt6/painting.md +++ b/translated/pyqt6/painting.md @@ -535,7 +535,7 @@ class Example(QWidget): qp = QPainter() qp.begin(self) - qp.setRenderHint(QPainter.RenderHints.Antialiasing) + qp.setRenderHint(QPainter.RenderHint.Antialiasing) self.drawBezierCurve(qp) qp.end()