Skip to content

Commit

Permalink
Fix conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 6, 2020
1 parent d301868 commit df49f2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/vectortile/qgsmapboxglstyleconverter.cpp
Expand Up @@ -43,7 +43,7 @@ QgsMapBoxGlStyleConverter::Result QgsMapBoxGlStyleConverter::convert( const QVar
mWarnings.clear();
if ( style.contains( QStringLiteral( "layers" ) ) )
{
parseLayers( mStyle.value( QStringLiteral( "layers" ) ).toList() );
parseLayers( style.value( QStringLiteral( "layers" ) ).toList() );
}
else
{
Expand Down
2 changes: 0 additions & 2 deletions src/core/vectortile/qgsmapboxglstyleconverter.h
Expand Up @@ -318,8 +318,6 @@ class CORE_EXPORT QgsMapBoxGlStyleConverter
static QString parseValue( const QVariant &value, QgsMapBoxGlStyleConversionContext &context );
static QString parseKey( const QVariant &value );


QVariantMap mStyle;
QString mError;
QStringList mWarnings;

Expand Down

0 comments on commit df49f2d

Please sign in to comment.