on xenial help sign in
Make showTapped not pass the position up

It used touchSceneX, touchSceneY that are not supported by the new SwipeArea and also is not used so remove instead of porting

commit05e43953ccbdb3706780b276722d943f7b4ccb37 authorAlbert Astals Cid <albert.astals@canonical.com> dateMon 7 Dec 2015, 14:45 (11 years ago) parent851fac1
1 file changed+2−2
qml/Panel/IndicatorsMenu.qml+2−2
qml/Panel/IndicatorsMenu.qml+2−2
@@ -40,7 +40,7 @@ Showable {
4040 property bool showOnClick: true
4141 property color panelColor: "#292929"
4242
43− signal showTapped(point position)
43+ signal showTapped()
4444
4545 // TODO: Perhaps we need a animation standard for showing/hiding? Each showable seems to
4646 // use its own values. Need to ask design about this.
@@ -196,7 +196,7 @@ Showable {
196196 } else {
197197 var touchReleaseTime = new Date().getTime();
198198 if (touchReleaseTime - touchPressTime <= 300) {
199− root.showTapped(Qt.point(touchSceneX, touchSceneY));
199+ root.showTapped();
200200 }
201201 }
202202 }