aboutsummaryrefslogtreecommitdiffstats
path: root/examples/widgets/effects/lighting/lighting.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/widgets/effects/lighting/lighting.py')
-rw-r--r--examples/widgets/effects/lighting/lighting.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/widgets/effects/lighting/lighting.py b/examples/widgets/effects/lighting/lighting.py
index fe200357d..f074813c3 100644
--- a/examples/widgets/effects/lighting/lighting.py
+++ b/examples/widgets/effects/lighting/lighting.py
@@ -37,8 +37,7 @@ class Lighting(QGraphicsView):
def setup_scene(self):
self.m_scene.setSceneRect(-300, -200, 600, 460)
- linear_grad = QLinearGradient(QPointF(-100, -100),
- QPointF(100, 100))
+ linear_grad = QLinearGradient(QPointF(-100, -100), QPointF(100, 100))
linear_grad.setColorAt(0, QColor(255, 255, 255))
linear_grad.setColorAt(1, QColor(192, 192, 255))
self.setBackgroundBrush(linear_grad)