@@ -19,30 +19,10 @@ import Cursor 1.0 // For MousePointer
20MousePointer {
20MousePointer {
21 id: mousePointer
21 id: mousePointer
22− opacity: cursorVisible ? 1 : 0
24− property bool cursorVisible: visible // initial value, based on shell.hasMouse
27 x: -mousePointer.hotspotX
24 x: -mousePointer.hotspotX
28 y: -mousePointer.hotspotY
25 y: -mousePointer.hotspotY
29 source: "image://cursor/" + mousePointer.themeName + "/" + mousePointer.cursorName
26 source: "image://cursor/" + mousePointer.themeName + "/" + mousePointer.cursorName
34− property bool touchDetected: false;
37− function hideCursor() {
38− d.touchDetected = true;
39− cursorVisible = false;
42− function revealCursor() {
43− if (d.touchDetected) {
44− d.touchDetected = false;
45− cursorVisible = true;