Commit 17087790 authored by Dennis Nienhüser's avatar Dennis Nienhüser

Remove statements without effect (cppcheck)

parent 187972c3
......@@ -97,9 +97,6 @@ void Bookmarks::addBookmark( qreal longitude, qreal latitude, const QString &nam
Marble::GeoDataCoordinates coordinate( longitude, latitude, 0.0, Marble::GeoDataCoordinates::Degree );
placemark.setCoordinate( coordinate );
placemark.setName( name );
Marble::GeoDataLookAt* lookat = new Marble::GeoDataLookAt;
lookat->setCoordinates( coordinate );
lookat->setRange( 750 );
placemark.extendedData().addValue( Marble::GeoDataData( "isBookmark", true ) );
manager->addBookmark( target, placemark );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment