Skip to content

Commit

Permalink
More constify
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 24, 2021
1 parent 8c0b98d commit e350661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/qgslayerstylingwidget.cpp
Expand Up @@ -259,7 +259,7 @@ void QgsLayerStylingWidget::setLayer( QgsMapLayer *layer )
break;
}

for ( QgsMapLayerConfigWidgetFactory *factory : std::as_const( mPageFactories ) )
for ( const QgsMapLayerConfigWidgetFactory *factory : std::as_const( mPageFactories ) )
{
if ( factory->supportsStyleDock() && factory->supportsLayer( layer ) )
{
Expand Down
2 changes: 1 addition & 1 deletion src/app/qgslayerstylingwidget.h
Expand Up @@ -155,7 +155,7 @@ class APP_EXPORT QgsLayerStylingWidget : public QWidget, private Ui::QgsLayerSty
QgsVectorTileBasicRendererWidget *mVectorTileStyleWidget = nullptr;
QgsVectorTileBasicLabelingWidget *mVectorTileLabelingWidget = nullptr;
QList<const QgsMapLayerConfigWidgetFactory *> mPageFactories;
QMap<int, QgsMapLayerConfigWidgetFactory *> mUserPages;
QMap<int, const QgsMapLayerConfigWidgetFactory *> mUserPages;
QgsLayerStyleManagerWidgetFactory *mStyleManagerFactory = nullptr;
};

Expand Down

0 comments on commit e350661

Please sign in to comment.