Skip to content
Permalink
Browse files

Fix some Coverity uninitialized member warnings

(cherry-picked from cf905c9)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent 3db0569 commit 434ee391888f5bb95ff563ffdb34182eae05692e
Showing with 6 additions and 6 deletions.
  1. +1 −1 src/app/layout/qgsreportorganizerwidget.h
  2. +5 −5 src/app/qgssnappingwidget.h
@@ -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;

@@ -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 );
};

0 comments on commit 434ee39

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