Coverity warnings.
--HG-- branch : develop
This commit is contained in:
parent
14423990dc
commit
2940c131bc
|
@ -74,8 +74,6 @@ inline VContainer VDataTool::getData() const
|
|||
*/
|
||||
inline void VDataTool::setData(const VContainer *value)
|
||||
{
|
||||
data.ClearVariables();
|
||||
data.ClearGObjects();
|
||||
data = *value;
|
||||
}
|
||||
|
||||
|
|
|
@ -184,6 +184,9 @@ void VToolUnionDetails::AddToNewDetail(QObject *tool, VPattern *doc, VContainer
|
|||
spl1->setMode(Draw::Modeling);
|
||||
id = data->AddGObject(spl1);
|
||||
VNodeSpline::Create(doc, data, id, idObject, Document::FullParse, Source::FromGui, idTool, tool);
|
||||
|
||||
delete p4;
|
||||
delete p1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
@ -233,6 +236,8 @@ void VToolUnionDetails::AddToNewDetail(QObject *tool, VPattern *doc, VContainer
|
|||
}
|
||||
path->append(VSplinePoint(*p4, splinePath->at(i).KAsm1(), spl.GetAngle2(),
|
||||
splinePath->at(i).KAsm2(), spl.GetAngle2()+180));
|
||||
delete p4;
|
||||
delete p1;
|
||||
}
|
||||
while (k>=0)
|
||||
{
|
||||
|
|
|
@ -417,3 +417,6 @@ void VProperty::ValueChildChanged(const QVariant &value, int typeForParent)
|
|||
|
||||
UserChangeEvent::~UserChangeEvent()
|
||||
{}
|
||||
|
||||
VPE::VPropertyPrivate::~VPropertyPrivate()
|
||||
{}
|
||||
|
|
|
@ -80,6 +80,8 @@ public:
|
|||
UpdateParent(false), UpdateChildren(false), Parent(nullptr), editor(nullptr), type(Property::Simple),
|
||||
Children(QList<VProperty*>())
|
||||
{}
|
||||
|
||||
virtual ~VPropertyPrivate();
|
||||
private:
|
||||
Q_DISABLE_COPY(VPropertyPrivate)
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user