use the model
This commit is contained in:
parent
f3c0fd0b10
commit
9a487cb771
@ -60,9 +60,7 @@ Item {
|
||||
|
||||
orientation: ListView.Horizontal
|
||||
|
||||
model: PlasmaCore.DataModel {
|
||||
dataSource: tasksSource
|
||||
}
|
||||
model: tasksSource.models["tasks"]
|
||||
|
||||
delegate: MouseArea {
|
||||
width: height * 1.6
|
||||
@ -70,7 +68,7 @@ Item {
|
||||
|
||||
PlasmaCore.WindowThumbnail {
|
||||
anchors.fill: parent
|
||||
winId: model["DataEngineSource"]
|
||||
winId: model["Id"]
|
||||
}
|
||||
|
||||
PlasmaComponents.Label {
|
||||
|
Loading…
Reference in New Issue
Block a user