Commit 326ced47 authored by Roman Gilg's avatar Roman Gilg

[Night Color KCM] Fix auto location display

parent 45575540
......@@ -24,6 +24,12 @@ GridLayout {
columnSpacing: units.smallSpacing
enabled: activator.checked
property double latitude
property double longitude
onLatitudeChanged: latitudeField.backend = latitude;
onLongitudeChanged: longitudeField.backend = longitude;
Controls.Label {
text: i18n("Latitude")
Layout.alignment: Qt.AlignRight
......
......@@ -189,9 +189,11 @@ Item {
}
}
Loader {
sourceComponent: LocationsAutoView {}
sourceComponent: LocationsAutoView {
latitude: locator.latitude
longitude: locator.longitude
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment