Fix typo.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-04-13 08:43:44 +03:00
parent 3970bbdbc0
commit e26fcb05b8
4 changed files with 6 additions and 6 deletions

View File

@ -267,14 +267,14 @@ bool TMainWindow::LoadFile(const QString &path)
if (mType == MeasurementsType::Multisize)
{
VVSTConverter converter(path);
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
m_curFileFormatVersionStr = converter.GetVersionStr();
m->setXMLContent(converter.Convert());// Read again after conversion
}
else
{
VVITConverter converter(path);
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
m_curFileFormatVersionStr = converter.GetVersionStr();
m->setXMLContent(converter.Convert());// Read again after conversion
}
@ -2894,7 +2894,7 @@ bool TMainWindow::LoadFromExistingFile(const QString &path)
else
{
VVITConverter converter(path);
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
m_curFileFormatVersionStr = converter.GetVersionStr();
m->setXMLContent(converter.Convert());// Read again after conversion
}

View File

@ -4553,7 +4553,7 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile)
try
{
VPatternConverter converter(fileName);
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
m_curFileFormatVersionStr = converter.GetVersionStr();
doc->setXMLContent(converter.Convert());
if (!customMeasureFile.isEmpty())

View File

@ -87,7 +87,7 @@ QString VAbstractConverter::Convert()
}
//---------------------------------------------------------------------------------------------------------------------
int VAbstractConverter::GetCurrentFormatVarsion() const
int VAbstractConverter::GetCurrentFormatVersion() const
{
return m_ver;
}

View File

@ -55,7 +55,7 @@ public:
QString Convert();
int GetCurrentFormatVarsion() const;
int GetCurrentFormatVersion() const;
QString GetVersionStr() const;
static int GetVersion(const QString &version);