summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-07-23 10:44:27 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-07-23 14:10:40 (GMT)
commit4901acb72ff16233b349cd5909525159140d3653 (patch)
treebb92a50b40695aa24aa053615f59726475e67b88
parent5c59300a756a0a1f60d9a7bafe3dba9d36519776 (diff)
Fix rad/deg confusion
-rw-r--r--src/lib/marble/declarative/Routing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/declarative/Routing.cpp b/src/lib/marble/declarative/Routing.cpp
index 2147b56..4029bb0 100644
--- a/src/lib/marble/declarative/Routing.cpp
+++ b/src/lib/marble/declarative/Routing.cpp
@@ -233,7 +233,7 @@ void Routing::updateSearchResultPlacemarks()
qreal y = 0;
const qreal lon = d->m_searchResultPlacemarks[i]->placemark().coordinate().longitude();
const qreal lat = d->m_searchResultPlacemarks[i]->placemark().coordinate().latitude();
- const bool visible = d->m_marbleMap->viewport()->screenCoordinates(lon * DEG2RAD, lat * DEG2RAD, x, y);
+ const bool visible = d->m_marbleMap->viewport()->screenCoordinates(lon, lat, x, y);
QQuickItem * item = d->m_searchResultItems[i];
if ( item ) {