Skip to content
Permalink
Browse files

using QStringLiteral for QVariantMap indexes

  • Loading branch information
Samweli committed Apr 27, 2020
1 parent aa554b2 commit c4f84db542233538a0bc508aed0c649194e9cc68
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/gui/raster/qgsrasterlayerproperties.cpp
@@ -1247,7 +1247,9 @@ void QgsRasterLayerProperties::updateSourceStaticTime()
QgsProviderMetadata *metadata = QgsProviderRegistry::instance()->providerMetadata(
mRasterLayer->providerType() );
QVariantMap uri = metadata->decodeUri( mRasterLayer->dataProvider()->dataSourceUri() );
uri[ QStringLiteral( "allowTemporalUpdates" ) ] = mWmstGroup->isChecked() ;

if ( mWmstGroup->isVisible() )
uri[ QStringLiteral( "allowTemporalUpdates" ) ] = mWmstGroup->isChecked();

if ( mWmstGroup->isEnabled() &&
mRasterLayer->dataProvider() &&

0 comments on commit c4f84db

Please sign in to comment.
You can’t perform that action at this time.