Skip to content

Commit

Permalink
Remove set mShortName in QgsMapLayer constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Apr 20, 2016
1 parent 7b64dd4 commit d381043
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -69,9 +69,6 @@ QgsMapLayer::QgsMapLayer( QgsMapLayer::LayerType type,
mLayerName = capitaliseLayerName( mLayerOrigName );
QgsDebugMsg( "display name: '" + mLayerName + '\'' );

// Set short name = the first original name
mShortName = lyrname;

// Generate the unique ID of this layer
QDateTime dt = QDateTime::currentDateTime();
mID = lyrname + dt.toString( "yyyyMMddhhmmsszzz" );
Expand Down

0 comments on commit d381043

Please sign in to comment.