diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 06:18:41 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-08-31 06:18:41 (GMT) |
commit | 98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919 (patch) | |
tree | 7f8b2016f80c181b2d953034c3589473685d9c28 | |
parent | c070e8107fd7e103125746b3a1a5ccc22fde8bc2 (diff) | |
download | Qt-98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919.zip Qt-98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919.tar.gz Qt-98becfa82d23ab6b6cbc3c6f5ce689f5cfaa1919.tar.bz2 |
We should be using a QRectF here.
-rw-r--r-- | src/declarative/fx/qfxrect.cpp | 2 |
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); } |