Skip to content

Commit d381043

Browse files
committedApr 20, 2016
Remove set mShortName in QgsMapLayer constructor
1 parent 7b64dd4 commit d381043

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/core/qgsmaplayer.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,6 @@ QgsMapLayer::QgsMapLayer( QgsMapLayer::LayerType type,
6969
mLayerName = capitaliseLayerName( mLayerOrigName );
7070
QgsDebugMsg( "display name: '" + mLayerName + '\'' );
7171

72-
// Set short name = the first original name
73-
mShortName = lyrname;
74-
7572
// Generate the unique ID of this layer
7673
QDateTime dt = QDateTime::currentDateTime();
7774
mID = lyrname + dt.toString( "yyyyMMddhhmmsszzz" );

0 commit comments

Comments
 (0)
Please sign in to comment.