on xenial help sign in
Remove edgeBarrierControls where they are useless
5dc5593Dalton Durst
tests/qmltests/Stage/tst_PhoneStage.qml−9
@@ -77,15 +77,6 @@ Item {
77 Column {
77 Column {
78 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
78 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
79 spacing: units.gu(1)
79 spacing: units.gu(1)
80− EdgeBarrierControls {
81− id: edgeBarrierControls
82− text: "Drag here to pull out spread"
83− backgroundColor: "blue"
84− onDragged: { stage.pushRightEdge(amount); }
85− Component.onCompleted: {
86− edgeBarrierControls.target = testCase.findChild(stage, "edgeBarrierController");
87− }
88− }
89 Repeater {
80 Repeater {
90 model: ApplicationManager.availableApplications
81 model: ApplicationManager.availableApplications
91 ApplicationCheckBox { appId: modelData }
82 ApplicationCheckBox { appId: modelData }
tests/qmltests/Stage/tst_TabletStage.qml−10
@@ -85,16 +85,6 @@ Rectangle {
85 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
85 anchors { left: parent.left; right: parent.right; top: parent.top; margins: units.gu(1) }
86 spacing: units.gu(1)
86 spacing: units.gu(1)
87
87
88− EdgeBarrierControls {
89− id: edgeBarrierControls
90− text: "Drag here to pull out spread"
91− backgroundColor: "blue"
92− onDragged: { stage.pushRightEdge(amount); }
93− Component.onCompleted: {
94− edgeBarrierControls.target = testCase.findChild(stage, "edgeBarrierController");
95− }
96− }
97−
98 Button {
88 Button {
99 text: testCase.sideStage ? testCase.sideStage.shown ? "Hide Side-stage" : "Show Side-stage" : ""
89 text: testCase.sideStage ? testCase.sideStage.shown ? "Hide Side-stage" : "Show Side-stage" : ""
100 enabled: testCase.sideStage
90 enabled: testCase.sideStage