Skip to content
Permalink
Browse files

update after QgsMapLayer layerNameChanged => nameChanged signal rename

  • Loading branch information
jef-n committed Jul 18, 2016
1 parent 2addf31 commit cad83d488f20d70d5ba36e6ac65e34474b23f078
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/layertree/qgslayertreemodel.cpp
  2. +1 −1 src/gui/qgshighlight.cpp
@@ -858,7 +858,7 @@ void QgsLayerTreeModel::connectToLayer( QgsLayerTreeLayer* nodeLayer )
connect( layer, SIGNAL( editingStarted() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
connect( layer, SIGNAL( editingStopped() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
connect( layer, SIGNAL( layerModified() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
connect( layer, SIGNAL( layerNameChanged() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
connect( layer, SIGNAL( nameChanged() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
}
}

@@ -31,7 +31,7 @@
#include "qgsvectorlayer.h"
#include "qgsrendererv2.h"

/* Few notes about highligting (RB):
/* Few notes about highlighting (RB):
- The highlight fill must always be partially transparent because above highlighted layer
may be another layer which must remain partially visible.
- Because single highlight color does not work well with layers using similar layer color

0 comments on commit cad83d4

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