Skip to content
Permalink
Browse files

fix warnings

  • Loading branch information
jef-n committed Jul 28, 2011
1 parent d76a0e4 commit efb79889576f38288500c23d57f4bdace877e40a
@@ -85,7 +85,7 @@ class CORE_EXPORT QgsApplication: public QApplication

//! Returns the path to the developer image directory.
//! @deprecated images are not provided anymore :-P
static const QString developerPath();
Q_DECL_DEPRECATED static const QString developerPath();

//! Returns the path to the help application.
static const QString helpAppPath();
@@ -164,7 +164,7 @@ void QgsEllipseSymbolLayerV2::startRender( QgsSymbolV2RenderContext& context )
mBrush.setColor( mFillColor );
}

void QgsEllipseSymbolLayerV2::stopRender( QgsSymbolV2RenderContext& context )
void QgsEllipseSymbolLayerV2::stopRender( QgsSymbolV2RenderContext & )
{
}

@@ -90,7 +90,9 @@ class CORE_EXPORT QgsEllipseSymbolLayerV2: public QgsMarkerSymbolLayerV2
QBrush mBrush;

/**Setup mPainterPath
@param feature to render (0 if no data defined rendering)*/
@param symbolName name of symbol
@param context render context
@param f feature f to render (0 if no data defined rendering)*/
void preparePath( const QString& symbolName, QgsSymbolV2RenderContext& context, const QgsFeature* f = 0 );

/**True if this symbol layer uses a data defined property*/
@@ -525,7 +525,7 @@ void QgsLinePatternFillSymbolLayer::startRender( QgsSymbolV2RenderContext& conte
}
}

void QgsLinePatternFillSymbolLayer::stopRender( QgsSymbolV2RenderContext& context )
void QgsLinePatternFillSymbolLayer::stopRender( QgsSymbolV2RenderContext & )
{
}

@@ -26,7 +26,7 @@ class CORE_EXPORT QgsSymbolLayerV2AbstractMetadata
/** create a symbol layer of this type given the map of properties. */
virtual QgsSymbolLayerV2* createSymbolLayer( const QgsStringMap& map ) = 0;
/** create widget for symbol layer of this type. Can return NULL if there's no GUI */
virtual QgsSymbolLayerV2Widget* createSymbolLayerWidget( const QgsVectorLayer* vl ) { return NULL; }
virtual QgsSymbolLayerV2Widget* createSymbolLayerWidget( const QgsVectorLayer * ) { return NULL; }

protected:
QString mName;

0 comments on commit efb7988

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