summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-11-10 09:59:15 (GMT)
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-11-10 09:59:15 (GMT)
commitc05fc777cac9a585567c83508b0e39cc3f86e7f6 (patch)
tree05a14d013c9c86dfc491133503485758d97db57b /src/gui/text
parentd7c4165a8e3c0a8000b3239e8790cdae7c814637 (diff)
downloadQt-c05fc777cac9a585567c83508b0e39cc3f86e7f6.zip
Qt-c05fc777cac9a585567c83508b0e39cc3f86e7f6.tar.gz
Qt-c05fc777cac9a585567c83508b0e39cc3f86e7f6.tar.bz2
Compile
QPen does not have a constructor which only takes a single QBrush. Reviewed-by: Gunnar
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qtextdocumentlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/text/qtextdocumentlayout.cpp b/src/gui/text/qtextdocumentlayout.cpp
index 85265af..2604879 100644
--- a/src/gui/text/qtextdocumentlayout.cpp
+++ b/src/gui/text/qtextdocumentlayout.cpp
@@ -1448,7 +1448,7 @@ void QTextDocumentLayoutPrivate::drawListItem(const QPointF &offset, QPainter *p
painter->fillRect(r, brush);
break;
case QTextListFormat::ListCircle:
- painter->setPen(QPen(brush));
+ painter->setPen(QPen(brush, 0));
painter->drawEllipse(r.translated(0.5, 0.5)); // pixel align for sharper rendering
break;
case QTextListFormat::ListDisc: