From 98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919 Mon Sep 17 00:00:00 2001 From: Michael Brasser Date: Mon, 31 Aug 2009 16:18:41 +1000 Subject: We should be using a QRectF here. --- src/declarative/fx/qfxrect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v0.12