147
127
anchors { top: parent.top; left: parent.left; right: parent.right }
150
130
item.model = categoryModels[modelName]
152
132
//FIXME: workaround for lack of previews for videos in Home scope.
153
133
//Need to connect to the clicked() signal here and act upon it here instead.
155
135
function playVideo(index, data) {
157
137
shell.activateApplication('/usr/share/applications/mediaplayer-app.desktop', "/usr/share/demo-assets/videos/" + data.fileUri);