@@ -19,30 +19,10 @@ import Cursor 1.0 // For MousePointer
1919
2020MousePointer {
2121 id: mousePointer
22− opacity: cursorVisible ? 1 : 0
23−
24− property bool cursorVisible: visible // initial value, based on shell.hasMouse
2522
2623 Image {
2724 x: -mousePointer.hotspotX
2825 y: -mousePointer.hotspotY
2926 source: "image://cursor/" + mousePointer.themeName + "/" + mousePointer.cursorName
3027 }
31−
32− QtObject {
33− id: d
34− property bool touchDetected: false;
35− }
36−
37− function hideCursor() {
38− d.touchDetected = true;
39− cursorVisible = false;
40− }
41−
42− function revealCursor() {
43− if (d.touchDetected) {
44− d.touchDetected = false;
45− cursorVisible = true;
46− }
47− }
4828}