Skip to content

Commit

Permalink
update after QgsMapLayer layerNameChanged => nameChanged signal rename
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jul 18, 2016
1 parent 2addf31 commit cad83d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/layertree/qgslayertreemodel.cpp
Expand Up @@ -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 );
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgshighlight.cpp
Expand Up @@ -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
Expand Down

0 comments on commit cad83d4

Please sign in to comment.