Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Sep 14, 2021
1 parent 1dc7516 commit 94ab07c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Expand Up @@ -463,7 +463,9 @@ Converts an expression representing a color to a string (can be color string or

:param colorExpression: the color expression
:param context: the style conversion context
@return the QGIS expression string

:return: the QGIS expression string
since QGIS 3.22
%End

static QColor parseColor( const QVariant &color, QgsMapBoxGlStyleConversionContext &context );
Expand Down
1 change: 0 additions & 1 deletion src/core/vectortile/qgsmapboxglstyleconverter.cpp
Expand Up @@ -2968,7 +2968,6 @@ QString QgsMapBoxGlStyleConverter::retrieveSpriteAsBase64( const QVariant &value
QString QgsMapBoxGlStyleConverter::parseValue( const QVariant &value, QgsMapBoxGlStyleConversionContext &context )
{
QColor c;
QString debug;
switch ( value.type() )
{
case QVariant::List:
Expand Down
3 changes: 2 additions & 1 deletion src/core/vectortile/qgsmapboxglstyleconverter.h
Expand Up @@ -454,7 +454,8 @@ class CORE_EXPORT QgsMapBoxGlStyleConverter
* Converts an expression representing a color to a string (can be color string or an expression where a color is expected)
* \param colorExpression the color expression
* \param context the style conversion context
* @return the QGIS expression string
* \returns the QGIS expression string
* since QGIS 3.22
*/
static QString parseColorExpression( const QVariant &colorExpression, QgsMapBoxGlStyleConversionContext &context );

Expand Down

0 comments on commit 94ab07c

Please sign in to comment.