Skip to content
Permalink
Browse files

fix compilation error in qgspointcloudlayerproperties.cpp

  • Loading branch information
NEDJIMAbelgacem committed Nov 14, 2020
1 parent 1d8fda9 commit 69d89cef4304570c442831feea6e182ad5746931
Showing with 2 additions and 9 deletions.
  1. +1 −1 src/3d/symbols/qgspointcloud3dsymbol.h
  2. +1 −8 src/app/pointcloud/qgspointcloudlayerproperties.cpp
@@ -31,7 +31,7 @@
*
* \since QGIS 3.18
*/
class QgsPointCloud3DSymbol : public QgsAbstract3DSymbol
class _3D_EXPORT QgsPointCloud3DSymbol : public QgsAbstract3DSymbol
{
public:
//! Constructor for QgsPointCloud3DSymbol
@@ -30,8 +30,6 @@
#include <QMessageBox>
#include <QDesktopServices>

#include "qgspointcloudlayer3drendererwidget.h"

QgsPointCloudLayerProperties::QgsPointCloudLayerProperties( QgsPointCloudLayer *lyr, QgsMapCanvas *canvas, QgsMessageBar *, QWidget *parent, Qt::WindowFlags flags )
: QgsOptionsDialogBase( QStringLiteral( "PointCloudLayerProperties" ), parent, flags )
, mLayer( lyr )
@@ -110,12 +108,7 @@ void QgsPointCloudLayerProperties::apply()
{
mMetadataWidget->acceptMetadata();

for ( QgsMapLayerConfigWidget *configWidget : mLayerPropertiesPages )
{
QgsPointCloudLayer3DRendererWidget *pointCloudRendererWidget = dynamic_cast<QgsPointCloudLayer3DRendererWidget *>( configWidget );
if ( pointCloudRendererWidget )
pointCloudRendererWidget->apply();
}
for ( QgsMapLayerConfigWidget *configWidget : mLayerPropertiesPages ) configWidget->apply();

// TODO -- move to proper widget classes!

0 comments on commit 69d89ce

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