Commit 203e22f5 authored by Eike Hein's avatar Eike Hein

Update main.qml

parent 2118941e
......@@ -183,7 +183,8 @@ Kirigami.ApplicationWindow {
return 0.0;
}
// If currentVehicle is null or there is no valid position, set distance to zero
// If currentVehicle is null or there is no valid position
// set distance to zero.
if (!currentVehicle || !currentVehicle.gpsPosition.isValid) {
return 0.0;
}
......
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