Skip to content

Commit b73b25d

Browse files
committed
fixed unnecessary deepcopy and use the correct api
1 parent b625451 commit b73b25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgsclipboard.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ QgsFeatureList QgsClipboard::stringToFeatureList( const QString& string, const Q
205205
if ( !fields.isEmpty() )
206206
feature.setFields( fields, true );
207207

208-
feature.setGeometry( *geometry );
208+
feature.setGeometry( geometry );
209209
features.append( feature );
210210
}
211211

0 commit comments

Comments
 (0)