Spelling error.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-05-06 17:11:12 +03:00
parent 44ef0936d9
commit fcbb301004
3 changed files with 5 additions and 5 deletions

View file

@ -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;
}

View file

@ -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;

View file

@ -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?
}
//---------------------------------------------------------------------------------------------------------------------