summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-05-20 08:22:14 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-05-20 08:22:14 (GMT)
commitd92b8e0fdcbfcad0c98b8c51fe2bd6451868af62 (patch)
tree462bf65a95e6de5438c728cbf157994e9684cd37 /src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
parenteff255bd29a8cbd09494f9e9480c2e4b07869386 (diff)
parenta948c797e0c45c965ada005b34c274514a3c4d42 (diff)
downloadQt-d92b8e0fdcbfcad0c98b8c51fe2bd6451868af62.zip
Qt-d92b8e0fdcbfcad0c98b8c51fe2bd6451868af62.tar.gz
Qt-d92b8e0fdcbfcad0c98b8c51fe2bd6451868af62.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Conflicts: examples/declarative/toys/dynamicscene/qml/itemCreation.js
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
index 291378f..c6ee46f 100644
--- a/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
+++ b/src/declarative/graphicsitems/qdeclarativevisualitemmodel.cpp
@@ -1224,7 +1224,7 @@ void QDeclarativeVisualDataModel::_q_itemsChanged(int index, int count,
if (d->m_listModelInterface)
roleName = d->m_listModelInterface->toString(role);
else if (d->m_abstractItemModel)
- roleName = d->m_abstractItemModel->roleNames().value(role);
+ roleName = QString::fromUtf8(d->m_abstractItemModel->roleNames().value(role));
qmlInfo(this) << "Changing role not present in item: " << roleName;
}
}