Merge pull request #30 from dubw/patch-2

fix QPainter.RenderHint from QPainter.RenderHints
This commit is contained in:
maicss 2022-09-29 23:27:40 +08:00 committed by GitHub
commit 67e220670e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()