diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-11-10 08:38:40 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-11-10 11:20:20 (GMT) |
commit | e35d08343032ca366541de2a892f36dfc266b0da (patch) | |
tree | 4166627ff31a7fb92462eabb7367461d3ec03491 /examples/effects/lighting/lighting.cpp | |
parent | 82e78e6797a99ffba279247731d43915d69890a4 (diff) | |
download | Qt-e35d08343032ca366541de2a892f36dfc266b0da.zip Qt-e35d08343032ca366541de2a892f36dfc266b0da.tar.gz Qt-e35d08343032ca366541de2a892f36dfc266b0da.tar.bz2 |
Use a non-cosmetic 1-width pen in example to match graphicsview specs
Reviewed-by: Samuel
Diffstat (limited to 'examples/effects/lighting/lighting.cpp')
-rw-r--r-- | examples/effects/lighting/lighting.cpp | 2 |
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); |