summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-08-06 16:25:41 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-08-06 16:27:32 (GMT)
commitfc42208f6d7cded4a314c6cdd809f86979f4ed0e (patch)
tree799879487eed77d50b917a1db08fd3c881c22bf1
parentcf4f8af7476b725aacf32f9443c0e971e8b08ab8 (diff)
Do not sneak in a name tag on writing
-rw-r--r--src/lib/marble/osm/OsmObjectManager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/marble/osm/OsmObjectManager.cpp b/src/lib/marble/osm/OsmObjectManager.cpp
index 103e33b..dfb9cf0 100644
--- a/src/lib/marble/osm/OsmObjectManager.cpp
+++ b/src/lib/marble/osm/OsmObjectManager.cpp
@@ -33,10 +33,6 @@ void OsmObjectManager::initializeOsmData( GeoDataPlacemark* placemark )
osmData.setVisible( "true" );
}
- if ( !placemark->name().isEmpty() ) {
- osmData.addTag( "name", placemark->name() );
- }
-
// Assigning osmData to each of the line's nodes ( if they don't already have data )
if ( placemark->geometry()->nodeType() == GeoDataTypes::GeoDataLineStringType ) {
const GeoDataLineString* lineString = static_cast<GeoDataLineString*>( placemark->geometry() );