Skip to content
Permalink
Browse files

Fix some warnings

  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent aa814bc commit 84892a7b5824b9d9b61004772601b4499e86dd4d
@@ -305,7 +305,8 @@ QVariantMap QgsFilterByLayerTypeAlgorithm::processAlgorithm( const QVariantMap &
case QgsMapLayerType::MeshLayer:
case QgsMapLayerType::VectorTileLayer:
case QgsMapLayerType::AnnotationLayer:
break;
case QgsMapLayerType::PointCloudLayer
break;
}

return outputs;
@@ -103,6 +103,8 @@ bool QgsPointCloudLayer::writeXml( QDomNode &layerNode, QDomDocument &doc, const

bool QgsPointCloudLayer::readSymbology( const QDomNode &node, QString &errorMessage, QgsReadWriteContext &context, QgsMapLayer::StyleCategories categories )
{
Q_UNUSED( errorMessage )

QDomElement elem = node.toElement();

readCommonStyle( elem, context, categories );
@@ -113,7 +115,11 @@ bool QgsPointCloudLayer::readSymbology( const QDomNode &node, QString &errorMess
bool QgsPointCloudLayer::writeSymbology( QDomNode &node, QDomDocument &doc, QString &errorMessage,
const QgsReadWriteContext &context, QgsMapLayer::StyleCategories categories ) const
{

Q_UNUSED( errorMessage )
Q_UNUSED( context )
Q_UNUSED( categories )
Q_UNUSED( node )
Q_UNUSED( doc )
}

void QgsPointCloudLayer::setTransformContext( const QgsCoordinateTransformContext &transformContext )
@@ -123,6 +129,8 @@ void QgsPointCloudLayer::setTransformContext( const QgsCoordinateTransformContex

QString QgsPointCloudLayer::loadDefaultStyle( bool &resultFlag )
{
Q_UNUSED( resultFlag )

return QString();
}

@@ -152,12 +152,14 @@ QgsPointCloudRenderer::~QgsPointCloudRenderer() = default;

void QgsPointCloudRenderer::writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const
{

Q_UNUSED( elem )
Q_UNUSED( context )
}

void QgsPointCloudRenderer::readXml( const QDomElement &elem, const QgsReadWriteContext &context )
{

Q_UNUSED( elem )
Q_UNUSED( context )
}

void QgsPointCloudRenderer::drawData( QPainter *painter, const QVector<qint32> &data, const QgsPointCloudRendererConfig &config )

0 comments on commit 84892a7

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