navigation: qml: remove start address and use current GPS location
[apps/navigation.git] / app / forms / RouteAddressForm.ui.qml
index 3f98dc0..5e43e7f 100644 (file)
@@ -44,12 +44,9 @@ import QtQuick.Controls 1.4
 import QtQuick.Layouts 1.2
 
 Item {
-    property alias fromStreet: fromStreet
-    property alias fromCountry: fromCountry
     property alias toStreet: toStreet
     property alias toCity: toCity
     property alias toCountry: toCountry
-    property alias fromCity: fromCity
     property alias goButton: goButton
     property alias clearButton: clearButton
     property alias cancelButton: cancelButton
@@ -91,44 +88,6 @@ Item {
             columns: 2
             anchors.fill: parent
 
-            Label {
-                id: label1
-                text: qsTr("From")
-                font.bold: true
-                anchors.horizontalCenter: parent.horizontalCenter
-                Layout.columnSpan : 2
-            }
-
-            Label {
-                id: label2
-                text: qsTr("Street")
-            }
-
-            TextField {
-                id: fromStreet
-                Layout.fillWidth: true
-            }
-
-            Label {
-                id: label3
-                text: qsTr("City")
-            }
-
-            TextField {
-                id: fromCity
-                Layout.fillWidth: true
-            }
-
-            Label {
-                id: label7
-                text: qsTr("Country")
-            }
-
-            TextField {
-                id: fromCountry
-                Layout.fillWidth: true
-            }
-
             Label {
                 id: label6
                 text: qsTr("To")