Skip to content
Permalink
Browse files

Fix coverity uninitialized member warnings

  • Loading branch information
nyalldawson committed Dec 5, 2017
1 parent fa5a831 commit 45fb6e9243a4d3650595639fc35984985f431107
@@ -203,7 +203,7 @@ class APP_EXPORT QgsAttributesFormProperties : public QWidget, private Ui_QgsAtt
void loadAttributeRelationEdit();
void storeAttributeRelationEdit( );

QgsEditFormConfig::PythonInitCodeSource mInitCodeSource;
QgsEditFormConfig::PythonInitCodeSource mInitCodeSource = QgsEditFormConfig::CodeSourceNone;
QString mInitFunction;
QString mInitFilePath;
QString mInitCode;
@@ -268,7 +268,7 @@ class DnDTree : public QTreeWidget

private:
QgsVectorLayer *mLayer = nullptr;
Type mType;
Type mType = DnDTree::Type::Drag;
};


@@ -85,7 +85,7 @@ class APP_EXPORT QgsSourceFieldsProperties : public QWidget, private Ui_QgsSourc
};

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

signals:
@@ -45,8 +45,8 @@ class GUI_EXPORT QgsAttributeFormRelationEditorWidget : public QgsAttributeFormW
virtual QString currentFilterExpression() const override;

private:
QgsRelationAggregateSearchWidgetWrapper *mSearchWidget;
QgsRelationWidgetWrapper *mWrapper;
QgsRelationAggregateSearchWidgetWrapper *mSearchWidget = nullptr;
QgsRelationWidgetWrapper *mWrapper = nullptr;
};

#endif // QGSATTRIBUTEFORMRELATIONEDITORWIDGET_H

0 comments on commit 45fb6e9

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