summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJens Bache-Wiig <jens.bache-wiig@digia.com>2014-02-25 18:49:09 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-26 10:10:30 +0100
commit9bdbff5a14f340b6b12f1fcd84608d17bdc67d70 (patch)
tree90763d6754dc599026df486c301c004e1967a880 /src
parent44e9533361045f299f43aa21bac55eaed87316f7 (diff)
TableView: Make "model" property consistent with ListView
[ChangeLog][QtQuickControls][TableView] "model" property exposed to delegates is now consistent with ListView behavior. task-number: QTBUG-33107 Change-Id: I8315c32a9d8beda9901ed65b552f0b8a587316ee Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/controls/TableView.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index b45cd3e92..63687d9d9 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -873,7 +873,7 @@ ScrollView {
sourceComponent: columnItem.delegate ? columnItem.delegate : itemDelegate
// these properties are exposed to the item delegate
- readonly property var model: listView.model
+ readonly property var model: itemModel
readonly property var modelData: itemModelData
property QtObject styleData: QtObject {