update after QgsMapLayer layerNameChanged => nameChanged signal rename

This commit is contained in:
Juergen E. Fischer 2016-07-18 17:31:26 +02:00
parent 2addf31ce7
commit cad83d488f
2 changed files with 2 additions and 2 deletions

View File

@ -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 );
}
}

View File

@ -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