summaryrefslogtreecommitdiff
path: root/src/plugins/geoservices
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/geoservices')
-rw-r--r--src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp b/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp
index cd8a4bad..60840ec6 100644
--- a/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp
+++ b/src/plugins/geoservices/nokia/qgeoroutexmlparser.cpp
@@ -435,7 +435,7 @@ bool QGeoRouteXmlParser::parseManeuver()
} else if (m_reader->name() == "ToLink") {
maneuverContainter.toId = m_reader->readElementText();
} else if (m_reader->name() == "TravelTime") {
- maneuverContainter.maneuver.setTimeToNextInstruction(m_reader->readElementText().toInt());
+ maneuverContainter.maneuver.setTimeToNextInstruction(qRound(m_reader->readElementText().toDouble()));
} else if (m_reader->name() == "Length") {
maneuverContainter.maneuver.setDistanceToNextInstruction(m_reader->readElementText().toDouble());
} else if (m_reader->name() == "Direction") {