Skip to content

Commit

Permalink
Fix some Coverity uninitialized member warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent 2b04c81 commit cf905c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/layout/qgsreportorganizerwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class QgsReportOrganizerWidget: public QgsPanelWidget, private Ui::QgsReportOrga

QgsReport *mReport = nullptr;
QgsReportSectionModel *mSectionModel = nullptr;
QgsMessageBar *mMessageBar;
QgsMessageBar *mMessageBar = nullptr;
QgsLayoutDesignerDialog *mDesigner = nullptr;
QWidget *mConfigWidget = nullptr;

Expand Down
10 changes: 5 additions & 5 deletions src/app/qgssnappingwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,26 +131,26 @@ class APP_EXPORT QgsSnappingWidget : public QWidget

QAction *mEnabledAction = nullptr;
QToolButton *mModeButton = nullptr;
QAction *mModeAction; // hide widget does not work on toolbar, action needed
QAction *mModeAction = nullptr; // hide widget does not work on toolbar, action needed
QAction *mAllLayersAction = nullptr;
QAction *mActiveLayerAction = nullptr;
QAction *mAdvancedModeAction = nullptr;
QAction *mEditAdvancedConfigAction = nullptr;
QToolButton *mTypeButton = nullptr;
QAction *mTypeAction; // hide widget does not work on toolbar, action needed
QAction *mTypeAction = nullptr; // hide widget does not work on toolbar, action needed
QAction *mVertexAction = nullptr;
QAction *mSegmentAction = nullptr;
QAction *mVertexAndSegmentAction = nullptr;
QDoubleSpinBox *mToleranceSpinBox = nullptr;
QAction *mToleranceAction; // hide widget does not work on toolbar, action needed
QAction *mToleranceAction = nullptr; // hide widget does not work on toolbar, action needed
QComboBox *mUnitsComboBox = nullptr;
QAction *mUnitAction; // hide widget does not work on toolbar, action needed
QAction *mUnitAction = nullptr; // hide widget does not work on toolbar, action needed
QAction *mTopologicalEditingAction = nullptr;
QAction *mIntersectionSnappingAction = nullptr;
QAction *mEnableTracingAction = nullptr;
QgsDoubleSpinBox *mTracingOffsetSpinBox = nullptr;
QTreeView *mLayerTreeView = nullptr;
QgsFloatingWidget *mAdvancedConfigContainer;
QgsFloatingWidget *mAdvancedConfigContainer = nullptr;

void cleanGroup( QgsLayerTreeNode *node );
};
Expand Down

0 comments on commit cf905c9

Please sign in to comment.