Fix typo.
--HG-- branch : develop
This commit is contained in:
parent
3970bbdbc0
commit
e26fcb05b8
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
|
@ -87,7 +87,7 @@ QString VAbstractConverter::Convert()
|
|||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
int VAbstractConverter::GetCurrentFormatVarsion() const
|
||||
int VAbstractConverter::GetCurrentFormatVersion() const
|
||||
{
|
||||
return m_ver;
|
||||
}
|
||||
|
|
|
@ -55,7 +55,7 @@ public:
|
|||
|
||||
QString Convert();
|
||||
|
||||
int GetCurrentFormatVarsion() const;
|
||||
int GetCurrentFormatVersion() const;
|
||||
QString GetVersionStr() const;
|
||||
|
||||
static int GetVersion(const QString &version);
|
||||
|
|
Loading…
Reference in New Issue
Block a user