summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-12-17 08:13:04 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-12-17 08:13:04 (GMT)
commitf79e0e89ea9061bbe93f43405a1ec954a41da1cc (patch)
tree2aa675c50ad2ba2fb935981c3fcc79161b09b706 /src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h
parent4d6001bd1d75b80c53fcc716b5a51043713ff6f9 (diff)
downloadQt-f79e0e89ea9061bbe93f43405a1ec954a41da1cc.zip
Qt-f79e0e89ea9061bbe93f43405a1ec954a41da1cc.tar.gz
Qt-f79e0e89ea9061bbe93f43405a1ec954a41da1cc.tar.bz2
Make positioners fast.
Diffstat (limited to 'src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h')
-rw-r--r--src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h b/src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h
index 4e8a19b..bd9202b 100644
--- a/src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h
+++ b/src/declarative/graphicsitems/qmlgraphicsvisualitemmodel_p.h
@@ -82,7 +82,7 @@ public:
virtual ReleaseFlags release(QmlGraphicsItem *item) = 0;
virtual void completeItem() = 0;
virtual QVariant evaluate(int index, const QString &expression, QObject *objectContext) = 0;
- virtual QVariant value(int index, const QString &role) { return QVariant(); }
+ virtual QVariant value(int, const QString &) { return QVariant(); }
virtual int indexOf(QmlGraphicsItem *item, QObject *objectContext) const = 0;