@@ -181,7 +181,7 @@ Item {
181 onTouchBegun: { cursor.opacity = 0; }
181 onTouchBegun: { cursor.opacity = 0; }
182 onTouchEnded: {
182 onTouchEnded: {
183 // move the (hidden) cursor to the last known touch position
183 // move the (hidden) cursor to the last known touch position
184− var mappedCoords = shell.parent ? mapFromItem(shell.parent, pos.x, pos.y) : Qt.point(pos.x, pos.y)
184+ var mappedCoords = mapFromItem(shell.parent, pos.x, pos.y);
185 cursor.x = mappedCoords.x;
185 cursor.x = mappedCoords.x;
186 cursor.y = mappedCoords.y;
186 cursor.y = mappedCoords.y;