on xenial help sign in
minor cleanup
3bd7ab8Lukáš Tinkl
qml/Wizard/Pages/50-timezone.qml+1−8
@@ -39,7 +39,7 @@ LocalComponents.Page {
39 }
39 }
40
40
41 // geo coords conversion functions (adapted from libtimezonemap)
41 // geo coords conversion functions (adapted from libtimezonemap)
42− function radians (degrees) {
42+ function radians(degrees) {
43 return degrees * Math.PI / 180;
43 return degrees * Math.PI / 180;
44 }
44 }
45
45
@@ -250,13 +250,6 @@ LocalComponents.Page {
250 foregroundSource: highlightImage
250 foregroundSource: highlightImage
251 }
251 }
252
252
253− MouseArea {
254− anchors.fill: parent
255− onClicked: {
256− print("Clicked map at:", mouseX, mouseY)
257− }
258− }
259−
260 Image {
253 Image {
261 id: pinImage
254 id: pinImage
262 source: "file:/usr/share/libtimezonemap/ui/pin.png"
255 source: "file:/usr/share/libtimezonemap/ui/pin.png"