summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-11-10 08:38:40 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-11-16 15:33:07 (GMT)
commit20249bcd4ab7da755e1f9cfafb6a05960b001c6d (patch)
tree737d332089347bb936ecd918a3e563173fdac7c9 /examples
parent0c94c9c5a0036fa518bcdb29ae5501d3e44f4f5c (diff)
downloadQt-20249bcd4ab7da755e1f9cfafb6a05960b001c6d.zip
Qt-20249bcd4ab7da755e1f9cfafb6a05960b001c6d.tar.gz
Qt-20249bcd4ab7da755e1f9cfafb6a05960b001c6d.tar.bz2
Use a non-cosmetic 1-width pen in example to match graphicsview specs
Reviewed-by: Samuel (cherry picked from commit e35d08343032ca366541de2a892f36dfc266b0da)
Diffstat (limited to 'examples')
-rw-r--r--examples/effects/lighting/lighting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/effects/lighting/lighting.cpp b/examples/effects/lighting/lighting.cpp
index 7026b66..51fa9f8 100644
--- a/examples/effects/lighting/lighting.cpp
+++ b/examples/effects/lighting/lighting.cpp
@@ -94,7 +94,7 @@ void Lighting::setupScene()
else
item = new QGraphicsRectItem(0, 0, 50, 50);
- item->setPen(QPen(Qt::black));
+ item->setPen(QPen(Qt::black, 1));
item->setBrush(QBrush(Qt::white));
QGraphicsDropShadowEffect *effect = new QGraphicsDropShadowEffect;
effect->setBlurRadius(8);