summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2010-06-15 10:33:39 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2010-06-15 12:33:50 (GMT)
commitc28efecdcfdd5fa0049bf482cb102814338c0d99 (patch)
treef0ee8b4ea213c0187316b5d3cdc8f7669486a1f1 /src/gui/painting/qpainter.cpp
parentac3c3b3a19207328ffbcbdada10ef61291caba15 (diff)
downloadQt-c28efecdcfdd5fa0049bf482cb102814338c0d99.zip
Qt-c28efecdcfdd5fa0049bf482cb102814338c0d99.tar.gz
Qt-c28efecdcfdd5fa0049bf482cb102814338c0d99.tar.bz2
Fixed missing stroke for flat ellipses.
The behavior should be the same as for arcs and rects. Task-number: QTBUG-2743 Reviewed-by: Eskil
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r--src/gui/painting/qpainter.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index e8c4599..d17c711 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -4238,8 +4238,6 @@ void QPainter::drawEllipse(const QRectF &r)
return;
QRectF rect(r.normalized());
- if (rect.isEmpty())
- return;
if (d->extended) {
d->extended->drawEllipse(rect);
@@ -4281,8 +4279,6 @@ void QPainter::drawEllipse(const QRect &r)
return;
QRect rect(r.normalized());
- if (rect.isEmpty())
- return;
if (d->extended) {
d->extended->drawEllipse(rect);