Skip to content
Permalink
Browse files

More constify

  • Loading branch information
nyalldawson committed Mar 24, 2021
1 parent 8c0b98d commit e350661db5d29b9cb797fa5de8660ad9b366d73f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgslayerstylingwidget.cpp
  2. +1 −1 src/app/qgslayerstylingwidget.h
@@ -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 ) )
{
@@ -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;
};

0 comments on commit e350661

Please sign in to comment.