Skip to content

Commit

Permalink
Remove more unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 29, 2024
1 parent 2612c32 commit afd266c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion src/3d/qgspostprocessingentity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ typedef Qt3DCore::QGeometry Qt3DQGeometry;

QgsPostprocessingEntity::QgsPostprocessingEntity( QgsFrameGraph *frameGraph, Qt3DRender::QLayer *layer, QNode *parent )
: QgsRenderPassQuad( layer, parent )
, mFrameGraph( frameGraph )
{
Q_UNUSED( frameGraph )
mColorTextureParameter = new Qt3DRender::QParameter( QStringLiteral( "colorTexture" ), frameGraph->forwardRenderColorTexture() );
mDepthTextureParameter = new Qt3DRender::QParameter( QStringLiteral( "depthTexture" ), frameGraph->forwardRenderDepthTexture() );
mShadowMapParameter = new Qt3DRender::QParameter( QStringLiteral( "shadowTexture" ), frameGraph->shadowMapTexture() );
Expand Down
1 change: 0 additions & 1 deletion src/3d/qgspostprocessingentity.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class QgsPostprocessingEntity : public QgsRenderPassQuad
void setAmbientOcclusionEnabled( bool enabled );

private:
QgsFrameGraph *mFrameGraph = nullptr;
Qt3DRender::QCamera *mMainCamera = nullptr;

Qt3DRender::QParameter *mColorTextureParameter = nullptr;
Expand Down
1 change: 0 additions & 1 deletion src/3d/qgsvirtualpointcloudentity_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ class QgsVirtualPointCloudEntity : public Qgs3DMapSceneEntity
QgsChunkBoundsEntity *mBboxesEntity = nullptr;
QList<QgsAABB> mBboxes;
QgsCoordinateTransform mCoordinateTransform;
QgsPointCloudIndex *mPointCloudIndex;
std::unique_ptr< QgsPointCloud3DSymbol > mSymbol;
double mZValueScale = 1.0;
double mZValueOffset = 0;
Expand Down
1 change: 0 additions & 1 deletion src/gui/vector/qgssourcefieldsproperties.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ class GUI_EXPORT QgsSourceFieldsProperties : public QWidget, private Ui_QgsSourc
};

private:
Ui::QgsSourceFieldsProperties *ui = nullptr;
void updateFieldRenamingStatus();

signals:
Expand Down
1 change: 0 additions & 1 deletion src/gui/vector/qgsvectorlayerlegendwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class GUI_EXPORT QgsVectorLayerLegendWidget : public QWidget
QgsFontButton *mTextOnSymbolFormatButton = nullptr;
QPushButton *mTextOnSymbolFromExpressionButton = nullptr;
QgsCollapsibleGroupBox *mTextOnSymbolGroupBox = nullptr;
QLabel *mTextOnSymbolLabel = nullptr;
QgsCollapsibleGroupBox *mLabelLegendGroupBox = nullptr;
QTreeWidget *mLabelLegendTreeWidget = nullptr;
QLabel *mPlaceholderImageLabel = nullptr;
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/geometry_checker/qgsgeometrycheckersetuptab.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ class QgsGeometryCheckerSetupTab : public QWidget
void checkerFinished( bool );

private:
QgisInterface *mIface = nullptr;
QDialog *mCheckerDialog;
Ui::QgsGeometryCheckerSetupTab ui;
QPushButton *mRunButton = nullptr;
QPushButton *mAbortButton = nullptr;
Expand Down

0 comments on commit afd266c

Please sign in to comment.