projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix test fails related to QTBUG-22237
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qquickvisualdatamodel
/
data
/
visualdatamodel.qml
1
import QtQuick 2.0
2
3
VisualDataModel {
4
function setRoot() {
5
rootIndex = modelIndex(0);
6
}
7
function setRootToParent() {
8
rootIndex = parentModelIndex();
9
}
10
model: myModel
11
delegate: Item {}
12
}