summaryrefslogtreecommitdiffstats
path: root/app/forms/RouteList.qml
diff options
context:
space:
mode:
Diffstat (limited to 'app/forms/RouteList.qml')
-rw-r--r--app/forms/RouteList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/forms/RouteList.qml b/app/forms/RouteList.qml
index 27fa572..e37b581 100644
--- a/app/forms/RouteList.qml
+++ b/app/forms/RouteList.qml
@@ -79,8 +79,8 @@ ListView {
}
}
//! [routeinfomodel2]
- totalTravelTime = routeModel.count == 0 ? "" : Helper.formatTime(routeModel.get(0).travelTime)
- totalDistance = routeModel.count == 0 ? "" : Helper.formatDistance(routeModel.get(0).distance)
+ totalTravelTime = routeModel.count === 0 ? "" : Helper.formatTime(routeModel.get(0).travelTime)
+ totalDistance = routeModel.count === 0 ? "" : Helper.formatDistance(routeModel.get(0).distance)
}
//! [routeinfomodel3]
}