summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-31 06:18:41 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-31 06:18:41 (GMT)
commit98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919 (patch)
tree7f8b2016f80c181b2d953034c3589473685d9c28 /src/declarative/fx
parentc070e8107fd7e103125746b3a1a5ccc22fde8bc2 (diff)
downloadQt-98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919.zip
Qt-98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919.tar.gz
Qt-98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919.tar.bz2
We should be using a QRectF here.
Diffstat (limited to 'src/declarative/fx')
-rw-r--r--src/declarative/fx/qfxrect.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxrect.cpp b/src/declarative/fx/qfxrect.cpp
index a9418e2..f8223f2 100644
--- a/src/declarative/fx/qfxrect.cpp
+++ b/src/declarative/fx/qfxrect.cpp
@@ -443,7 +443,7 @@ void QFxRect::paint(QPainter *p, const QStyleOptionGraphicsItem *, QWidget *)
bool oldAA = p->testRenderHint(QPainter::Antialiasing);
if (d->smooth)
p->setRenderHints(QPainter::Antialiasing, true);
- p->fillRect(QRect(0, 0, width(), height()), d->getColor());
+ p->fillRect(QRectF(0, 0, width(), height()), d->getColor());
if (d->smooth)
p->setRenderHint(QPainter::Antialiasing, oldAA);
}