Skip to content

Commit cad83d4

Browse files
committedJul 18, 2016
update after QgsMapLayer layerNameChanged => nameChanged signal rename
1 parent 2addf31 commit cad83d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/core/layertree/qgslayertreemodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ void QgsLayerTreeModel::connectToLayer( QgsLayerTreeLayer* nodeLayer )
858858
connect( layer, SIGNAL( editingStarted() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
859859
connect( layer, SIGNAL( editingStopped() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
860860
connect( layer, SIGNAL( layerModified() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
861-
connect( layer, SIGNAL( layerNameChanged() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
861+
connect( layer, SIGNAL( nameChanged() ), this, SLOT( layerNeedsUpdate() ), Qt::UniqueConnection );
862862
}
863863
}
864864

‎src/gui/qgshighlight.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "qgsvectorlayer.h"
3232
#include "qgsrendererv2.h"
3333

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

0 commit comments

Comments
 (0)
Please sign in to comment.