summaryrefslogtreecommitdiffstats
path: root/src/declarative
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-12-03 06:57:26 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-12-03 06:57:26 (GMT)
commit3338430a0a421eab2cb61f446675303585b0b1dd (patch)
tree56d2db6c09b466240fbeb077a54c511280ee3ad6 /src/declarative
parent9ddd812b37414fc12295c7fc07f06558d876a017 (diff)
downloadQt-3338430a0a421eab2cb61f446675303585b0b1dd.zip
Qt-3338430a0a421eab2cb61f446675303585b0b1dd.tar.gz
Qt-3338430a0a421eab2cb61f446675303585b0b1dd.tar.bz2
Remove dead code
Diffstat (limited to 'src/declarative')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsitem.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsitem.cpp b/src/declarative/graphicsitems/qmlgraphicsitem.cpp
index 6f6f76e..1bf1089 100644
--- a/src/declarative/graphicsitems/qmlgraphicsitem.cpp
+++ b/src/declarative/graphicsitems/qmlgraphicsitem.cpp
@@ -1442,15 +1442,6 @@ QmlGraphicsKeysAttached *QmlGraphicsKeysAttached::qmlAttachedProperties(QObject
\internal
*/
-static int qfxitem_registerAnchorLine() {
- /*
- static bool registered = false;
- if (!registered) {
- qRegisterMetaType<QmlGraphicsAnchorLine>("QmlGraphicsAnchorLine");
- registered = true;
- }
- */
-}
// ### Must fix
struct RegisterAnchorLineAtStartup {
RegisterAnchorLineAtStartup() {
@@ -1469,7 +1460,6 @@ QmlGraphicsItem::QmlGraphicsItem(QmlGraphicsItem* parent)
: QGraphicsObject(*(new QmlGraphicsItemPrivate), parent, 0)
{
Q_D(QmlGraphicsItem);
- qfxitem_registerAnchorLine();
d->init(parent);
}
@@ -1479,7 +1469,6 @@ QmlGraphicsItem::QmlGraphicsItem(QmlGraphicsItemPrivate &dd, QmlGraphicsItem *pa
: QGraphicsObject(dd, parent, 0)
{
Q_D(QmlGraphicsItem);
- qfxitem_registerAnchorLine();
d->init(parent);
}