Warning. Initialize member in an initialization list.
--HG-- branch : develop
This commit is contained in:
parent
2d24964c68
commit
a0380f4d24
|
@ -60,8 +60,7 @@ public:
|
||||||
if (VFuzzyComparePossibleNulls(angle1, angle2) || not qFuzzyCompare(qAbs(angle1-angle2), 180) )
|
if (VFuzzyComparePossibleNulls(angle1, angle2) || not qFuzzyCompare(qAbs(angle1-angle2), 180) )
|
||||||
{
|
{
|
||||||
qDebug()<<"Make angle1 and angle2 correct.";
|
qDebug()<<"Make angle1 and angle2 correct.";
|
||||||
this->angle1 = angle1;
|
this->angle2 = this->angle1 + 180;
|
||||||
this->angle2 = angle1 + 180;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,12 +74,9 @@ VToolBisector::VToolBisector(VAbstractPattern *doc, VContainer *data, const quin
|
||||||
const QString &lineColor, const QString &formula, const quint32 &firstPointId,
|
const QString &lineColor, const QString &formula, const quint32 &firstPointId,
|
||||||
const quint32 &secondPointId, const quint32 &thirdPointId, const Source &typeCreation,
|
const quint32 &secondPointId, const quint32 &thirdPointId, const Source &typeCreation,
|
||||||
QGraphicsItem *parent)
|
QGraphicsItem *parent)
|
||||||
:VToolLinePoint(doc, data, id, typeLine, lineColor, formula, secondPointId, 0, parent), firstPointId(NULL_ID),
|
:VToolLinePoint(doc, data, id, typeLine, lineColor, formula, secondPointId, 0, parent), firstPointId(firstPointId),
|
||||||
thirdPointId(NULL_ID)
|
thirdPointId(thirdPointId)
|
||||||
{
|
{
|
||||||
this->firstPointId = firstPointId;
|
|
||||||
this->thirdPointId = thirdPointId;
|
|
||||||
|
|
||||||
ToolCreation(typeCreation);
|
ToolCreation(typeCreation);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user