mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Fix coverity uninitialized variable warnings
This commit is contained in:
parent
98d4734098
commit
639c050077
@ -54,11 +54,13 @@ class APP_EXPORT QgsFieldsProperties : public QWidget, private Ui_QgsFieldsPrope
|
||||
|
||||
DesignerTreeItemData()
|
||||
: mType( Field )
|
||||
, mColumnCount( 1 )
|
||||
{}
|
||||
|
||||
DesignerTreeItemData( Type type, const QString& name )
|
||||
: mType( type )
|
||||
, mName( name )
|
||||
, mColumnCount( 1 )
|
||||
{}
|
||||
|
||||
QString name() const { return mName; }
|
||||
|
@ -105,6 +105,7 @@ class CORE_EXPORT QgsAttributeEditorContainer : public QgsAttributeEditorElement
|
||||
QgsAttributeEditorContainer( const QString& name, QObject *parent )
|
||||
: QgsAttributeEditorElement( AeTypeContainer, name, parent )
|
||||
, mIsGroupBox( true )
|
||||
, mColumnCount( 1 )
|
||||
{}
|
||||
|
||||
//! Destructor
|
||||
|
@ -187,6 +187,12 @@ class GUI_EXPORT QgsAttributeForm : public QWidget
|
||||
|
||||
struct WidgetInfo
|
||||
{
|
||||
WidgetInfo()
|
||||
: widget( nullptr )
|
||||
, labelOnTop( false )
|
||||
, labelAlignRight( false )
|
||||
{}
|
||||
|
||||
QWidget* widget;
|
||||
QString labelText;
|
||||
bool labelOnTop;
|
||||
|
Loading…
x
Reference in New Issue
Block a user