parent
64f0d13449
commit
541d3d2eac
|
@ -123,7 +123,10 @@ void DialogAlongLine::DeployFormulaTextEdit()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogAlongLine::~DialogAlongLine()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -117,7 +117,10 @@ void DialogArc::DeployF2TextEdit()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogArc::~DialogArc()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(path))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete path;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -132,7 +132,10 @@ void DialogBisector::DeployFormulaTextEdit()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogBisector::~DialogBisector()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,10 @@ DialogCurveIntersectAxis::DialogCurveIntersectAxis(const VContainer *data, const
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogCurveIntersectAxis::~DialogCurveIntersectAxis()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -97,7 +97,10 @@ void DialogCutArc::DeployFormulaTextEdit()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogCutArc::~DialogCutArc()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(path))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete path;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,10 @@ DialogCutSpline::DialogCutSpline(const VContainer *data, const quint32 &toolId,
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogCutSpline::~DialogCutSpline()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(path))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete path;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,10 @@ DialogCutSplinePath::DialogCutSplinePath(const VContainer *data, const quint32 &
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogCutSplinePath::~DialogCutSplinePath()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(path))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete path;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -302,6 +302,9 @@ void DialogEndLine::closeEvent(QCloseEvent *event)
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogEndLine::~DialogEndLine()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
|
|
@ -69,7 +69,10 @@ DialogHeight::DialogHeight(const VContainer *data, const quint32 &toolId, QWidge
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogHeight::~DialogHeight()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,10 @@ DialogLine::DialogLine(const VContainer *data, const quint32 &toolId, QWidget *p
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogLine::~DialogLine()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,10 @@ DialogLineIntersect::DialogLineIntersect(const VContainer *data, const quint32 &
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogLineIntersect::~DialogLineIntersect()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -81,7 +81,10 @@ DialogLineIntersectAxis::DialogLineIntersectAxis(const VContainer *data, const q
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogLineIntersectAxis::~DialogLineIntersectAxis()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -120,7 +120,10 @@ void DialogNormal::DeployFormulaTextEdit()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogNormal::~DialogNormal()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -96,7 +96,10 @@ DialogPointOfContact::DialogPointOfContact(const VContainer *data, const quint32
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogPointOfContact::~DialogPointOfContact()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,10 @@ DialogPointOfIntersection::DialogPointOfIntersection(const VContainer *data, con
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogPointOfIntersection::~DialogPointOfIntersection()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -131,7 +131,10 @@ void DialogShoulderPoint::DeployFormulaTextEdit()
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogShoulderPoint::~DialogShoulderPoint()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -60,7 +60,10 @@ DialogSpline::DialogSpline(const VContainer *data, const quint32 &toolId, QWidge
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogSpline::~DialogSpline()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(path))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete path;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,10 @@ DialogSplinePath::DialogSplinePath(const VContainer *data, const quint32 &toolId
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogSplinePath::~DialogSplinePath()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(visPath))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete visPath;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
|
@ -72,7 +72,10 @@ DialogTriangle::DialogTriangle(const VContainer *data, const quint32 &toolId, QW
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
DialogTriangle::~DialogTriangle()
|
||||
{
|
||||
if (qApp->getCurrentScene()->items().contains(line))
|
||||
{ // In some cases scene delete object yourself. If not make check program will crash.
|
||||
delete line;
|
||||
}
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user