Skip to content

Commit

Permalink
use qt4 signal/slot syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Dec 9, 2016
1 parent 2eaa0b7 commit febc819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsmaplayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ QgsMapLayer::QgsMapLayer( QgsMapLayer::LayerType type,

connect( this, SIGNAL( nameChanged() ), this, SIGNAL( layerNameChanged() ) );

connect( mStyleManager, &QgsMapLayerStyleManager::currentStyleChanged, this, &QgsMapLayer::styleChanged );
connect( mStyleManager, SIGNAL( currentStyleChanged( QString ) ), this, SIGNAL( styleChanged() ) );
}

QgsMapLayer::~QgsMapLayer()
Expand Down

0 comments on commit febc819

Please sign in to comment.