@@ -322,8 +322,6 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
322
322
Q_DECL_DEPRECATED QgsAttributeEditorRelation ( const QString &name, const QString &relationId, QgsAttributeEditorElement *parent )
323
323
: QgsAttributeEditorElement( AeTypeRelation, name, parent )
324
324
, mRelationId( relationId )
325
- , mShowLinkButton( true )
326
- , mShowUnlinkButton( true )
327
325
{}
328
326
329
327
/* *
@@ -333,8 +331,6 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
333
331
: QgsAttributeEditorElement( AeTypeRelation, name, parent )
334
332
, mRelationId( relation.id() )
335
333
, mRelation( relation )
336
- , mShowLinkButton( true )
337
- , mShowUnlinkButton( true )
338
334
{}
339
335
340
336
/* *
@@ -346,8 +342,6 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
346
342
QgsAttributeEditorRelation ( const QString &relationId, QgsAttributeEditorElement *parent )
347
343
: QgsAttributeEditorElement( AeTypeRelation, relationId, parent )
348
344
, mRelationId ( relationId )
349
- , mShowLinkButton ( true )
350
- , mShowUnlinkButton ( true )
351
345
{}
352
346
353
347
/* *
@@ -360,8 +354,6 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
360
354
: QgsAttributeEditorElement( AeTypeRelation, relation.id(), parent )
361
355
, mRelationId ( relation.id() )
362
356
, mRelation ( relation )
363
- , mShowLinkButton ( true )
364
- , mShowUnlinkButton ( true )
365
357
{}
366
358
367
359
@@ -416,8 +408,8 @@ class CORE_EXPORT QgsAttributeEditorRelation : public QgsAttributeEditorElement
416
408
QString typeIdentifier () const override ;
417
409
QString mRelationId ;
418
410
QgsRelation mRelation ;
419
- bool mShowLinkButton ;
420
- bool mShowUnlinkButton ;
411
+ bool mShowLinkButton = true ;
412
+ bool mShowUnlinkButton = true ;
421
413
};
422
414
423
415
0 commit comments