on xenial help sign in
Formatting fixes
commitae844bf61776ed49b181480310bcab67b8fe0c38 authorMarcus Tomlinson <marcus.tomlinson@canonical.com> dateThu 18 Sep 2014, 07:28 (12 years ago) parentc4c4471
1 file changed+2−4
qml/Dash/GenericScopeView.qml+2−4
qml/Dash/GenericScopeView.qml+2−4
@@ -66,8 +66,7 @@ FocusScope {
6666 // so it's not implemented
6767 scope.activate(result)
6868 } else {
69− if (scope.preview(result))
70− {
69+ if (scope.preview(result)) {
7170 openPreview(index, resultsModel, limitedCategoryItemCount);
7271 }
7372 }
@@ -75,8 +74,7 @@ FocusScope {
7574
7675 function itemPressedAndHeld(index, result, itemModel, resultsModel, limitedCategoryItemCount) {
7776 if (itemModel.uri.indexOf("scope://") !== 0) {
78− if (scope.preview(result))
79− {
77+ if (scope.preview(result)) {
8078 openPreview(index, resultsModel, limitedCategoryItemCount);
8179 }
8280 }