diff options
Diffstat (limited to 'examples/widgets/painting/plot/plot.py')
| -rw-r--r-- | examples/widgets/painting/plot/plot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/painting/plot/plot.py b/examples/widgets/painting/plot/plot.py index d437309d0..5e564511f 100644 --- a/examples/widgets/painting/plot/plot.py +++ b/examples/widgets/painting/plot/plot.py @@ -53,7 +53,7 @@ class PlotWidget(QWidget): def paintEvent(self, event): with QPainter(self) as painter: rect = QRect(QPoint(0, 0), self.size()) - painter.fillRect(rect, Qt.white) + painter.fillRect(rect, Qt.GlobalColor.white) painter.translate(-self._points[0].x(), 0) painter.drawPolyline(self._points) |
