aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2011-04-19 16:37:22 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:13 -0300
commit055e5e97b6873228c64c5ab4a84b71ce8a2012c4 (patch)
treea258536df54e1ae33c2aa98461845a0a553fb49d /tests
parent26be28d120aba5401e8e4ed0509557070729cb82 (diff)
Fix bug 814 test.
Using the modelData property name was causing problems with a debug-build Qt. Reviewer: Renato Araujo <renato.araujo@openbossa.org> Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtDeclarative/bug_814.py2
-rw-r--r--tests/QtDeclarative/bug_814.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtDeclarative/bug_814.py b/tests/QtDeclarative/bug_814.py
index 43fcc5f61..e2bfc36b5 100644
--- a/tests/QtDeclarative/bug_814.py
+++ b/tests/QtDeclarative/bug_814.py
@@ -15,7 +15,7 @@ import unittest
class ListModel(QAbstractListModel):
def __init__(self):
QAbstractListModel.__init__(self)
- self.setRoleNames({0: 'modelData'})
+ self.setRoleNames({0: 'pysideModelData'})
def rowCount(self, parent=QModelIndex()):
return 3
diff --git a/tests/QtDeclarative/bug_814.qml b/tests/QtDeclarative/bug_814.qml
index f772c3a84..3296c0799 100644
--- a/tests/QtDeclarative/bug_814.qml
+++ b/tests/QtDeclarative/bug_814.qml
@@ -3,7 +3,7 @@ import Qt 4.7
ListView {
width: 300; height: 300
- delegate: Text { text: modelData }
+ delegate: Text { text: pysideModelData }
model: 3
}