mirror of
https://github.com/maicss/PyQt5-Chinese-tutorial.git
synced 2025-01-08 17:06:18 +08:00
Merge pull request #30 from dubw/patch-2
fix QPainter.RenderHint from QPainter.RenderHints
This commit is contained in:
commit
67e220670e
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user