Skip to content

Commit

Permalink
fixed unnecessary deepcopy and use the correct api
Browse files Browse the repository at this point in the history
  • 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
Original file line number Diff line number Diff line change
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.