Skip to content
Permalink
Browse files

Remove set mShortName in QgsMapLayer constructor

  • Loading branch information
rldhont committed Apr 20, 2016
1 parent 7b64dd4 commit d3810439a65dcfffa6f611ee5aeb605bd458deb8
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/core/qgsmaplayer.cpp
@@ -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" );

0 comments on commit d381043

Please sign in to comment.
You can’t perform that action at this time.