mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-01 00:46:20 -05:00
fix warnings
This commit is contained in:
parent
56620e2c58
commit
6a84e07cc2
@ -99,7 +99,7 @@ QSizeF QgsLayerTreeModelLegendNode::drawSymbolText( const QgsLegendSettings& set
|
||||
|
||||
labelSize.rheight() = lines.count() * textHeight + ( lines.count() - 1 ) * settings.lineSpacing();
|
||||
|
||||
double labelX, labelY;
|
||||
double labelX = 0.0, labelY = 0.0;
|
||||
if ( ctx )
|
||||
{
|
||||
ctx->painter->setPen( settings.fontColor() );
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include "qgslogger.h"
|
||||
|
||||
// @deprecated in 2.8
|
||||
QgsMapToPixel::QgsMapToPixel( double mapUnitsPerPixel,
|
||||
double xc,
|
||||
double yc,
|
||||
@ -56,6 +55,7 @@ QgsMapToPixel::QgsMapToPixel()
|
||||
updateMatrix();
|
||||
}
|
||||
|
||||
// @deprecated in 2.8
|
||||
QgsMapToPixel::QgsMapToPixel( double mapUnitsPerPixel,
|
||||
double height,
|
||||
double ymin,
|
||||
|
@ -51,7 +51,7 @@ class QgsPalGeometry : public PalGeometry
|
||||
QString text() { return mText; }
|
||||
|
||||
/** Returns the text component corresponding to a specified label part
|
||||
* @param partId. Set to -1 for labels which are not broken into parts (eg, non-curved labels), or the required
|
||||
* @param partId Set to -1 for labels which are not broken into parts (eg, non-curved labels), or the required
|
||||
* part index for labels which are broken into parts (curved labels)
|
||||
* @note added in QGIS 2.10
|
||||
*/
|
||||
|
@ -229,7 +229,7 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature& feature )
|
||||
}
|
||||
|
||||
feature.setValid( true );
|
||||
feature.setFields( &mSource->mFields ); // allow name-based attribute lookups
|
||||
feature.setFields( mSource->mFields ); // allow name-based attribute lookups
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ class SERVER_EXPORT QgsServerInterface
|
||||
|
||||
/**
|
||||
* Set the request handler
|
||||
* @param QgsRequestHandler
|
||||
* @param requestHandler request handler
|
||||
*/
|
||||
virtual void setRequestHandler( QgsRequestHandler* requestHandler ) = 0;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user