Skip to content
Permalink
Browse files
use proper type in convert functions interface
  • Loading branch information
vmora committed May 22, 2015
1 parent c49884f commit e0098a5d62711dda644ae2bd33582616f1efca7b
Showing with 3 additions and 3 deletions.
  1. +1 −1 src/core/symbology-ng/qgsrendererv2.cpp
  2. +2 −2 src/core/symbology-ng/qgsrendererv2.h
@@ -642,7 +642,7 @@ void QgsFeatureRendererV2::setPaintEffect( QgsPaintEffect *effect )
mPaintEffect = effect;
}

void QgsFeatureRendererV2::convertSymbolSizeScale( QgsSymbolV2 * symbol, int method, const QString & field )
void QgsFeatureRendererV2::convertSymbolSizeScale( QgsSymbolV2 * symbol, QgsSymbolV2::ScaleMethod method, const QString & field )
{
if ( symbol->type() == QgsSymbolV2::Marker )
{
@@ -19,6 +19,7 @@
#include "qgis.h"
#include "qgsrectangle.h"
#include "qgsrendercontext.h"
#include "qgssymbolv2.h"

#include <QList>
#include <QString>
@@ -28,7 +29,6 @@
#include <QDomDocument>
#include <QDomElement>

class QgsSymbolV2;
class QgsFeature;
class QgsFields;
class QgsVectorLayer;
@@ -275,7 +275,7 @@ class CORE_EXPORT QgsFeatureRendererV2
/**@note this function is used to convert old sizeScale expresssions to symbol
* level DataDefined size
*/
static void convertSymbolSizeScale( QgsSymbolV2 * symbol, int method, const QString & field );
static void convertSymbolSizeScale( QgsSymbolV2 * symbol, QgsSymbolV2::ScaleMethod method, const QString & field );
/**@note this function is used to convert old rotations expresssions to symbol
* level DataDefined angle
*/

0 comments on commit e0098a5

Please sign in to comment.