Some changes suggested by Flössies code review, #4891
This commit is contained in:
@@ -104,6 +104,11 @@ FlatField::FlatField () : FoldableToolPanel(this, "flatfield", M("TP_FLATFIELD_L
|
||||
}
|
||||
}
|
||||
|
||||
FlatField::~FlatField ()
|
||||
{
|
||||
idle_register.destroy();
|
||||
}
|
||||
|
||||
void FlatField::read(const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited)
|
||||
{
|
||||
disableListener ();
|
||||
@@ -416,6 +421,7 @@ void FlatField::flatFieldAutoClipValueChanged(int n)
|
||||
me->disableListener();
|
||||
me->flatFieldClipControl->setValue (d->n);
|
||||
me->enableListener();
|
||||
delete d;
|
||||
return FALSE;
|
||||
};
|
||||
|
||||
|
@@ -62,6 +62,7 @@ protected:
|
||||
public:
|
||||
|
||||
FlatField ();
|
||||
~FlatField ();
|
||||
|
||||
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = nullptr);
|
||||
void write (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited = nullptr);
|
||||
|
Reference in New Issue
Block a user