Skip to content

Commit

Permalink
Fix some Coverity uninitialized member warnings
Browse files Browse the repository at this point in the history
(cherry-picked from cf905c9)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent 3db0569 commit 434ee39
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
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
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 434ee39

Please sign in to comment.