Spelling error.
--HG-- branch : develop
This commit is contained in:
parent
44ef0936d9
commit
fcbb301004
|
@ -52,7 +52,7 @@ void VBestSquare::NewResult(qint64 square, int i, int j, const QTransform &matri
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VBestSquare::NewResult(const VBestSquare &best)
|
void VBestSquare::NewResult(const VBestSquare &best)
|
||||||
{
|
{
|
||||||
if (best.ValideResult())
|
if (best.ValidResult())
|
||||||
{
|
{
|
||||||
NewResult(best.BestSquare(), best.GContourEdge(), best.DetailEdge(), best.Matrix(), best.Mirror(), best.Type());
|
NewResult(best.BestSquare(), best.GContourEdge(), best.DetailEdge(), best.Matrix(), best.Mirror(), best.Type());
|
||||||
}
|
}
|
||||||
|
@ -83,7 +83,7 @@ QTransform VBestSquare::Matrix() const
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
bool VBestSquare::ValideResult() const
|
bool VBestSquare::ValidResult() const
|
||||||
{
|
{
|
||||||
return valideResult;
|
return valideResult;
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ public:
|
||||||
int GContourEdge() const;
|
int GContourEdge() const;
|
||||||
int DetailEdge() const;
|
int DetailEdge() const;
|
||||||
QTransform Matrix() const;
|
QTransform Matrix() const;
|
||||||
bool ValideResult() const;
|
bool ValidResult() const;
|
||||||
bool Mirror() const;
|
bool Mirror() const;
|
||||||
BestFrom Type() const;
|
BestFrom Type() const;
|
||||||
|
|
||||||
|
|
|
@ -236,7 +236,7 @@ bool VLayoutPaper::AddToSheet(const VLayoutDetail &detail, volatile bool &stop)
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
bool VLayoutPaper::SaveResult(const VBestSquare &bestResult, const VLayoutDetail &detail)
|
bool VLayoutPaper::SaveResult(const VBestSquare &bestResult, const VLayoutDetail &detail)
|
||||||
{
|
{
|
||||||
if (bestResult.ValideResult())
|
if (bestResult.ValidResult())
|
||||||
{
|
{
|
||||||
VLayoutDetail workDetail = detail;
|
VLayoutDetail workDetail = detail;
|
||||||
workDetail.SetMatrix(bestResult.Matrix());// Don't forget set matrix
|
workDetail.SetMatrix(bestResult.Matrix());// Don't forget set matrix
|
||||||
|
@ -258,7 +258,7 @@ bool VLayoutPaper::SaveResult(const VBestSquare &bestResult, const VLayoutDetail
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
return bestResult.ValideResult(); // Do we have the best result?
|
return bestResult.ValidResult(); // Do we have the best result?
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user