@@ -56,8 +56,6 @@ Item {
5656 height: units.gu(4)
5757 }
5858
59− onSearchClicked: console.log("Search Clicked")
60−
6159 property real panelAndSeparatorHeight: panel.indicators.panelHeight + units.dp(2)
6260
6361 Component.onCompleted: {
@@ -172,8 +170,8 @@ Item {
172170
173171 // hint animation should be run, meaning that indicators will move downwards
174172 // by hintValue pixels without any drag taking place
175− tryCompareFunction2(function() { return panel.indicators.height },
176− function() { return panel.indicators.panelHeight + panel.indicators.hintValue });
173+ tryCompareFunction(function() { return panel.indicators.height },
174+ panel.indicators.panelHeight + panel.indicators.hintValue);
177175 tryCompare(panel.indicators, "partiallyOpened", true);
178176 tryCompare(panel.indicators, "fullyOpened", false);
179177
@@ -231,17 +229,17 @@ Item {
231229 function test_drag_show_data() {
232230 return [
233231 { tag: "pinned", fullscreenFlag: false, alreadyOpen: false, call: false,
234− indicatorY: function() { return 0 } },
232+ indicatorY: 0 },
235233 { tag: "fullscreen", fullscreenFlag: true, alreadyOpen: false, call: false,
236− indicatorY: function() {return -panel.panelAndSeparatorHeight } },
234+ indicatorY: -panel.panelAndSeparatorHeight },
237235 { tag: "pinned-alreadyOpen", fullscreenFlag: false, alreadyOpen: true, call: false,
238− indicatorY: function() { return 0 } },
236+ indicatorY: 0 },
239237 { tag: "fullscreen-alreadyOpen", fullscreenFlag: true, alreadyOpen: true, call: false,
240− indicatorY: function() {return 0 } },
238+ indicatorY: 0 },
241239 { tag: "pinned-callActive", fullscreenFlag: false, alreadyOpen: false, call: true,
242− indicatorY: function() { return 0 } },
240+ indicatorY: 0},
243241 { tag: "fullscreen-callActive", fullscreenFlag: true, alreadyOpen: false, call: true,
244− indicatorY: function() { return -panel.panelAndSeparatorHeight } }
242+ indicatorY: -panel.panelAndSeparatorHeight }
245243 ];
246244 }
247245
@@ -268,7 +266,7 @@ Item {
268266
269267 // Wait for the indicators to get into position.
270268 // (switches between normal and fullscreen modes are animated)
271− tryCompareFunction2(function() { return indicatorArea.y } , data.indicatorY);
269+ tryCompareFunction(function() { return indicatorArea.y }, data.indicatorY);
272270
273271 // do this for each indicator item
274272 for (var i = 0; i < indicatorRow.row.count; i++) {