MCPcopy Create free account
hub / github.com/LUX-Core/lux / ~QCPLayoutElement

Method ~QCPLayoutElement

src/qt/qcustomplot.cpp:3189–3195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3187}
3188
3189QCPLayoutElement::~QCPLayoutElement()
3190{
3191 setMarginGroup(QCP::msAll, 0); // unregister at margin groups, if there are any
3192 // unregister at layout:
3193 if (qobject_cast<QCPLayout*>(mParentLayout)) // the qobject_cast is just a safeguard in case the layout forgets to call clear() in its dtor and this dtor is called by QObject dtor
3194 mParentLayout->take(this);
3195}
3196
3197/*!
3198 Sets the outer rect of this layout element. If the layout element is inside a layout, the layout

Callers

nothing calls this directly

Calls 1

takeMethod · 0.80

Tested by

no test coverage detected