summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qvectorpath_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-06-10 10:13:06 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-06-10 14:49:48 (GMT)
commit9eeec42f67e3e5c344d024eb28ac4f09d7c96c41 (patch)
tree819b9e2a61274acb792084bcb10042fbf16775e7 /src/gui/painting/qvectorpath_p.h
parent32f32ee3e752a6cc03505ddaa48d2849eaedc2a6 (diff)
downloadQt-9eeec42f67e3e5c344d024eb28ac4f09d7c96c41.zip
Qt-9eeec42f67e3e5c344d024eb28ac4f09d7c96c41.tar.gz
Qt-9eeec42f67e3e5c344d024eb28ac4f09d7c96c41.tar.bz2
Make QVectorPath::controlPointRect() return a QRectF.
This makes debugging etc much easier, plus most of the places controlPointRect() was called the caller had to convert the rect to a QRectF manually.
Diffstat (limited to 'src/gui/painting/qvectorpath_p.h')
-rw-r--r--src/gui/painting/qvectorpath_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qvectorpath_p.h b/src/gui/painting/qvectorpath_p.h
index 2602a3d..b073f8c 100644
--- a/src/gui/painting/qvectorpath_p.h
+++ b/src/gui/painting/qvectorpath_p.h
@@ -112,7 +112,7 @@ public:
{
}
- const QRealRect &controlPointRect() const;
+ QRectF controlPointRect() const;
inline Hint shape() const { return (Hint) (m_hints & ShapeHintMask); }