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