summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-22 07:46:57 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-22 07:46:57 (GMT)
commit944a9b41e34e0a8c9b9994a040a6b83aa4e11291 (patch)
treec1f165036182ae2236f787d38913991b6e9e9cf0 /src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h
parentad718beb09ec9d4ce2a52712c098185f15eee5e9 (diff)
downloadQt-944a9b41e34e0a8c9b9994a040a6b83aa4e11291.zip
Qt-944a9b41e34e0a8c9b9994a040a6b83aa4e11291.tar.gz
Qt-944a9b41e34e0a8c9b9994a040a6b83aa4e11291.tar.bz2
Minor optimizations
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h b/src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h
index 45c983f..5b02158 100644
--- a/src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h
+++ b/src/declarative/graphicsitems/qmlgraphicsanchors_p_p.h
@@ -95,9 +95,9 @@ class QmlGraphicsAnchorsPrivate : public QObjectPrivate, public QmlGraphicsItemC
{
Q_DECLARE_PUBLIC(QmlGraphicsAnchors)
public:
- QmlGraphicsAnchorsPrivate()
+ QmlGraphicsAnchorsPrivate(QmlGraphicsItem *i)
: updatingMe(false), updatingHorizontalAnchor(0),
- updatingVerticalAnchor(0), updatingFill(0), updatingCenterIn(0), item(0), usedAnchors(0), fill(0),
+ updatingVerticalAnchor(0), updatingFill(0), updatingCenterIn(0), item(i), usedAnchors(0), fill(0),
centerIn(0), leftMargin(0), rightMargin(0), topMargin(0), bottomMargin(0),
margins(0), vCenterOffset(0), hCenterOffset(0), baselineOffset(0),
componentComplete(true)