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)
|
||||
{
|
||||
if (best.ValideResult())
|
||||
if (best.ValidResult())
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
int GContourEdge() const;
|
||||
int DetailEdge() const;
|
||||
QTransform Matrix() const;
|
||||
bool ValideResult() const;
|
||||
bool ValidResult() const;
|
||||
bool Mirror() 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)
|
||||
{
|
||||
if (bestResult.ValideResult())
|
||||
if (bestResult.ValidResult())
|
||||
{
|
||||
VLayoutDetail workDetail = detail;
|
||||
workDetail.SetMatrix(bestResult.Matrix());// Don't forget set matrix
|
||||
|
@ -258,7 +258,7 @@ bool VLayoutPaper::SaveResult(const VBestSquare &bestResult, const VLayoutDetail
|
|||
#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