use the model

This commit is contained in:
Marco Martin 2014-03-05 15:24:25 +01:00
parent f3c0fd0b10
commit 9a487cb771

View File

@ -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 {