Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed unnecessary deepcopy and use the correct api
  • Loading branch information
luipir committed Aug 17, 2017
1 parent b625451 commit b73b25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgsclipboard.cpp
Expand Up @@ -205,7 +205,7 @@ QgsFeatureList QgsClipboard::stringToFeatureList( const QString& string, const Q
if ( !fields.isEmpty() )
feature.setFields( fields, true );

feature.setGeometry( *geometry );
feature.setGeometry( geometry );
features.append( feature );
}

Expand Down

0 comments on commit b73b25d

Please sign in to comment.