Commit 5bb5a7cb authored by Volker Krause's avatar Volker Krause
Browse files

Remove usage of deprecated QML signal syntax from the demo app too

parent 15381af0
......@@ -232,7 +232,7 @@ Kirigami.ApplicationWindow {
}
Connections {
target: page.map.view
onFloorLevelChanged: floorLevelCombo.currentIndex = page.map.floorLevels.rowForLevel(page.map.view.floorLevel);
function onFloorLevelChanged() { floorLevelCombo.currentIndex = page.map.floorLevels.rowForLevel(page.map.view.floorLevel); }
}
QQC2.Slider {
......@@ -248,7 +248,7 @@ Kirigami.ApplicationWindow {
}
Connections {
target: page.map.view
onZoomLevelChanged: zoomSlider.value = page.map.view.zoomLevel
function onZoomLevelChanged() { zoomSlider.value = page.map.view.zoomLevel; }
}
QQC2.Label { text: "Coordinate:" }
......
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