summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx/qfxanchors.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-06-23 00:56:28 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-06-23 01:35:07 (GMT)
commit5d5ead94bc79a5364d8685707711673f5dc1a35a (patch)
tree7887203ad5d3b717129b6794e3e0795b2834ed4c /src/declarative/fx/qfxanchors.cpp
parent0b59aed42d27584ef3493305c565dd47f66d179d (diff)
downloadQt-5d5ead94bc79a5364d8685707711673f5dc1a35a.zip
Qt-5d5ead94bc79a5364d8685707711673f5dc1a35a.tar.gz
Qt-5d5ead94bc79a5364d8685707711673f5dc1a35a.tar.bz2
Make QSimpleCanvasItem inherit QGraphicsObject
Diffstat (limited to 'src/declarative/fx/qfxanchors.cpp')
-rw-r--r--src/declarative/fx/qfxanchors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxanchors.cpp b/src/declarative/fx/qfxanchors.cpp
index 09d6178..d25b679 100644
--- a/src/declarative/fx/qfxanchors.cpp
+++ b/src/declarative/fx/qfxanchors.cpp
@@ -223,7 +223,7 @@ void QFxAnchorsPrivate::addDepend(QFxItem *item)
if (!item)
return;
QFxItemPrivate *p =
- static_cast<QFxItemPrivate *>(QObjectPrivate::get(item));
+ static_cast<QFxItemPrivate *>(QGraphicsItemPrivate::get(item));
p->dependantAnchors.append(q);
}
@@ -233,7 +233,7 @@ void QFxAnchorsPrivate::remDepend(QFxItem *item)
if (!item)
return;
QFxItemPrivate *p =
- static_cast<QFxItemPrivate *>(QObjectPrivate::get(item));
+ static_cast<QFxItemPrivate *>(QGraphicsItemPrivate::get(item));
p->dependantAnchors.removeAll(q);
}