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)
|
if (mType == MeasurementsType::Multisize)
|
||||||
{
|
{
|
||||||
VVSTConverter converter(path);
|
VVSTConverter converter(path);
|
||||||
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
|
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
|
||||||
m_curFileFormatVersionStr = converter.GetVersionStr();
|
m_curFileFormatVersionStr = converter.GetVersionStr();
|
||||||
m->setXMLContent(converter.Convert());// Read again after conversion
|
m->setXMLContent(converter.Convert());// Read again after conversion
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VVITConverter converter(path);
|
VVITConverter converter(path);
|
||||||
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
|
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
|
||||||
m_curFileFormatVersionStr = converter.GetVersionStr();
|
m_curFileFormatVersionStr = converter.GetVersionStr();
|
||||||
m->setXMLContent(converter.Convert());// Read again after conversion
|
m->setXMLContent(converter.Convert());// Read again after conversion
|
||||||
}
|
}
|
||||||
|
@ -2894,7 +2894,7 @@ bool TMainWindow::LoadFromExistingFile(const QString &path)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
VVITConverter converter(path);
|
VVITConverter converter(path);
|
||||||
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
|
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
|
||||||
m_curFileFormatVersionStr = converter.GetVersionStr();
|
m_curFileFormatVersionStr = converter.GetVersionStr();
|
||||||
m->setXMLContent(converter.Convert());// Read again after conversion
|
m->setXMLContent(converter.Convert());// Read again after conversion
|
||||||
}
|
}
|
||||||
|
|
|
@ -4553,7 +4553,7 @@ bool MainWindow::LoadPattern(QString fileName, const QString& customMeasureFile)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
VPatternConverter converter(fileName);
|
VPatternConverter converter(fileName);
|
||||||
m_curFileFormatVersion = converter.GetCurrentFormatVarsion();
|
m_curFileFormatVersion = converter.GetCurrentFormatVersion();
|
||||||
m_curFileFormatVersionStr = converter.GetVersionStr();
|
m_curFileFormatVersionStr = converter.GetVersionStr();
|
||||||
doc->setXMLContent(converter.Convert());
|
doc->setXMLContent(converter.Convert());
|
||||||
if (!customMeasureFile.isEmpty())
|
if (!customMeasureFile.isEmpty())
|
||||||
|
|
|
@ -87,7 +87,7 @@ QString VAbstractConverter::Convert()
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
int VAbstractConverter::GetCurrentFormatVarsion() const
|
int VAbstractConverter::GetCurrentFormatVersion() const
|
||||||
{
|
{
|
||||||
return m_ver;
|
return m_ver;
|
||||||
}
|
}
|
||||||
|
|
|
@ -55,7 +55,7 @@ public:
|
||||||
|
|
||||||
QString Convert();
|
QString Convert();
|
||||||
|
|
||||||
int GetCurrentFormatVarsion() const;
|
int GetCurrentFormatVersion() const;
|
||||||
QString GetVersionStr() const;
|
QString GetVersionStr() const;
|
||||||
|
|
||||||
static int GetVersion(const QString &version);
|
static int GetVersion(const QString &version);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user