Skip to content
Permalink
Browse files

Remove non-functional loadDefaultStyle from QgsPointCloudLayer

We should use the base class version for point cloud layers
  • Loading branch information
nyalldawson committed Oct 27, 2020
1 parent f9dfea8 commit 09e87b839436969319cba13620758341f2355f52
@@ -83,8 +83,6 @@ QgsPointCloudLayer cannot be copied.

virtual void setTransformContext( const QgsCoordinateTransformContext &transformContext );

virtual QString loadDefaultStyle( bool &resultFlag /Out/ );

virtual void setDataSource( const QString &dataSource, const QString &baseName, const QString &provider, const QgsDataProvider::ProviderOptions &options, bool loadDefaultStyleFlag = false );

virtual QString htmlMetadata() const;
@@ -146,12 +146,6 @@ void QgsPointCloudLayer::setTransformContext( const QgsCoordinateTransformContex
mDataProvider->setTransformContext( transformContext );
}

QString QgsPointCloudLayer::loadDefaultStyle( bool &resultFlag )
{
Q_UNUSED( resultFlag )
return QString();
}

void QgsPointCloudLayer::setDataSource( const QString &dataSource, const QString &baseName, const QString &provider, const QgsDataProvider::ProviderOptions &options, bool loadDefaultStyleFlag )
{
Q_UNUSED( loadDefaultStyleFlag )
@@ -110,7 +110,6 @@ class CORE_EXPORT QgsPointCloudLayer : public QgsMapLayer
StyleCategories categories = AllStyleCategories ) const override;

void setTransformContext( const QgsCoordinateTransformContext &transformContext ) override;
QString loadDefaultStyle( bool &resultFlag SIP_OUT ) override;
void setDataSource( const QString &dataSource, const QString &baseName, const QString &provider, const QgsDataProvider::ProviderOptions &options, bool loadDefaultStyleFlag = false ) override;
QString htmlMetadata() const override;

0 comments on commit 09e87b8

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