File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1262,13 +1262,13 @@ namespace QgsWms
1262
1262
if ( ! mContext .parameters ().queryLayersNickname ().contains ( queryLayer ) )
1263
1263
{
1264
1264
// Find which group this layer belongs to
1265
- const auto & constNicks { mContext .parameters ().queryLayersNickname () };
1266
- for ( const auto &ql : constNicks )
1265
+ const QStringList constNicks { mContext .parameters ().queryLayersNickname () };
1266
+ for ( const QString &ql : constNicks )
1267
1267
{
1268
1268
if ( mContext .layerGroups ().contains ( ql ) )
1269
1269
{
1270
- const auto & constLayers { mContext .layerGroups ()[ql] };
1271
- for ( const auto & ml : constLayers )
1270
+ const QList<QgsMapLayer *> constLayers { mContext .layerGroups ()[ql] };
1271
+ for ( const QgsMapLayer * ml : constLayers )
1272
1272
{
1273
1273
if ( ( ! ml->shortName ().isEmpty () && ml->shortName () == queryLayer ) || ( ml->name () == queryLayer ) )
1274
1274
{
You can’t perform that action at this time.
0 commit comments