@@ -65,10 +65,7 @@ FocusScope {
65 subPageLoader.closeSubPage()
65 subPageLoader.closeSubPage()
68− function itemClicked(index, result, item, itemModel, resultsModel, limitedCategoryItemCount, cardTool) {
68+ function itemClicked(index, result, item, itemModel, resultsModel, limitedCategoryItemCount) {
69− if (cardTool.template && cardTool.template["non-interactive"]) {
72 if (itemModel.uri.indexOf("scope://") === 0 || scope.id === "clickscope") {
69 if (itemModel.uri.indexOf("scope://") === 0 || scope.id === "clickscope") {
73 // TODO Technically it is possible that calling activate() will make the scope emit
70 // TODO Technically it is possible that calling activate() will make the scope emit
74 // previewRequested so that we show a preview but there's no scope that does that yet
71 // previewRequested so that we show a preview but there's no scope that does that yet
@@ -81,10 +78,7 @@ FocusScope {
84− function itemPressedAndHeld(index, result, itemModel, resultsModel, limitedCategoryItemCount, cardTool) {
81+ function itemPressedAndHeld(index, result, itemModel, resultsModel, limitedCategoryItemCount) {
85− if (cardTool.template && cardTool.template["non-interactive"]) {
88 if (itemModel.uri.indexOf("scope://") !== 0) {
82 if (itemModel.uri.indexOf("scope://") !== 0) {
89 if (scope.preview(result)) {
83 if (scope.preview(result)) {
90 openPreview(index, resultsModel, limitedCategoryItemCount);
84 openPreview(index, resultsModel, limitedCategoryItemCount);
@@ -339,11 +333,11 @@ FocusScope {
339 Connections {
333 Connections {
340 target: rendererLoader.item
334 target: rendererLoader.item
341 onClicked: {
335 onClicked: {
342− scopeView.itemClicked(index, result, item, itemModel, target.model, categoryItemCount(), rendererLoader.item.cardTool);
336+ scopeView.itemClicked(index, result, item, itemModel, target.model, categoryItemCount());
345 onPressAndHold: {
339 onPressAndHold: {
346− scopeView.itemPressedAndHeld(index, result, itemModel, target.model, categoryItemCount(), rendererLoader.item.cardTool);
340+ scopeView.itemPressedAndHeld(index, result, itemModel, target.model, categoryItemCount());
349 function categoryItemCount() {
343 function categoryItemCount() {