aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/ftw/qqmlpool_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-04-17 16:35:19 +0200
committerLars Knoll <lars.knoll@nokia.com>2012-04-17 22:32:42 +0200
commit7d3a56f3cf717a06823c33b031ea4f590e14002d (patch)
treeb5d2845e8353ba2de3028a9f32749ca622e115da /src/qml/qml/ftw/qqmlpool_p.h
parentf92c3aecd08eef468f9a47f2e970f22beecc8216 (diff)
parente5f45d9b57bb0542ec47e5a8a4e57388b6d59d35 (diff)
Merge remote-tracking branch 'origin/api_changes'
Diffstat (limited to 'src/qml/qml/ftw/qqmlpool_p.h')
-rw-r--r--src/qml/qml/ftw/qqmlpool_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/ftw/qqmlpool_p.h b/src/qml/qml/ftw/qqmlpool_p.h
index e4fa03ce34..8e8f367890 100644
--- a/src/qml/qml/ftw/qqmlpool_p.h
+++ b/src/qml/qml/ftw/qqmlpool_p.h
@@ -132,6 +132,7 @@ public:
Q_ASSERT(index < m_length);
return m_data[index];
};
+ const T *data() const { return m_data; }
private:
friend class QQmlPool;
List(T *d, int l) : m_length(l), m_data(d) {}