summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-07-23 05:37:47 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-07-23 10:07:01 (GMT)
commit4515b913fecf5f38fa76abd25ac1e96181a9293f (patch)
treeb73db2a4f8fe6d2903e2243f177d0e57ba6037a4
parent53eb1046b3647a9346c27f309c22e5bf9f5d4402 (diff)
Trim whitespace in coordinate
-rw-r--r--src/lib/marble/declarative/Placemark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/marble/declarative/Placemark.cpp b/src/lib/marble/declarative/Placemark.cpp
index d05bfda..d018778 100644
--- a/src/lib/marble/declarative/Placemark.cpp
+++ b/src/lib/marble/declarative/Placemark.cpp
@@ -158,7 +158,7 @@ QString Placemark::openingHours() const
QString Placemark::coordinates() const
{
- return m_placemark.coordinate().toString(GeoDataCoordinates::Decimal);
+ return m_placemark.coordinate().toString(GeoDataCoordinates::Decimal).trimmed();
}
void Placemark::setName(const QString & name)