@@ -159,9 +159,10 @@ FocusScope {
159 scopeView.enableHeightBehaviorOnNextCreation = false;
159 scopeView.enableHeightBehaviorOnNextCreation = false;
161 if (source.toString().indexOf("Apps/RunningApplicationsGrid.qml") != -1) {
161 if (source.toString().indexOf("Apps/RunningApplicationsGrid.qml") != -1) {
162− // TODO: the running apps grid doesn't support standard scope results model yet
162+ // TODO: this is still a kludge :D
163+ console.log("MOOOO", mainStageApplicationsModel, sideStageApplicationModel);
163− item.firstModel = Qt.binding(function() { return results.firstModel })
164+ item.firstModel = Qt.binding(function() { return mainStageApplicationsModel })
164− item.secondModel = Qt.binding(function() { return results.secondModel })
165+ item.secondModel = Qt.binding(function() { return sideStageApplicationModel })
165 item.canEnableTerminationMode = Qt.binding(function() { return scopeView.isCurrent })
166 item.canEnableTerminationMode = Qt.binding(function() { return scopeView.isCurrent })
167 item.model = Qt.binding(function() { return results })
168 item.model = Qt.binding(function() { return results })
@@ -316,6 +317,10 @@ FocusScope {
316 function getRenderer(template, results) {
317 function getRenderer(template, results) {
317 var layout = template["category-layout"];
318 var layout = template["category-layout"];
320+ if (layout == "running-apps") {
321+ return "Apps/RunningApplicationsGrid.qml";
319 if (layout === "carousel") {
324 if (layout === "carousel") {
320 // TODO: Selectively disable carousel, 4 is fixed for now, should change depending on form factor
325 // TODO: Selectively disable carousel, 4 is fixed for now, should change depending on form factor
321 if (results.count <= 4) layout = "grid";
326 if (results.count <= 4) layout = "grid";