Skip to content
Permalink
Browse files
Fix QgsComposerMap sip/cpp build error
  • Loading branch information
dakcarto committed Jul 11, 2014
1 parent 061dc4f commit 0ad70eda2e4465d037fb1301c2e56458e9936b24
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/composer/qgscomposermap.cpp
  2. +1 −1 src/core/composer/qgscomposermap.h
@@ -1794,7 +1794,7 @@ void QgsComposerMap::setGridBlendMode( QPainter::CompositionMode blendMode )
g->setBlendMode( blendMode );
}

QPainter::CompositionMode QgsComposerMap::gridBlendMode()
QPainter::CompositionMode QgsComposerMap::gridBlendMode() const
{
const QgsComposerMapGrid* g = constFirstMapGrid();
return g->blendMode();
@@ -432,7 +432,7 @@ class CORE_EXPORT QgsComposerMap : public QgsComposerItem
QgsLineSymbolV2* gridLineSymbol();

/** Returns the grid's blending mode */
QPainter::CompositionMode gridBlendMode();
QPainter::CompositionMode gridBlendMode() const;
/** Sets the grid's blending mode*/
void setGridBlendMode( QPainter::CompositionMode blendMode );

1 comment on commit 0ad70ed

@dakcarto

This comment has been minimized.

Copy link
Member Author

@dakcarto dakcarto commented on 0ad70ed Jul 11, 2014

@mhugent The qgscomposermap.sip file already had:

QPainter::CompositionMode gridBlendMode() const;

but the corresponding .cpp files did not, which caused a build error for the qgis.core Python module here on Mac. I assume this is the correct fix. Please verify.

Please sign in to comment.