diff --git a/src/app/tape/tmainwindow.cpp b/src/app/tape/tmainwindow.cpp index d4745c203..1a07557e7 100644 --- a/src/app/tape/tmainwindow.cpp +++ b/src/app/tape/tmainwindow.cpp @@ -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 } diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 37d6100f0..da9c7f3c3 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -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()) diff --git a/src/libs/ifc/xml/vabstractconverter.cpp b/src/libs/ifc/xml/vabstractconverter.cpp index 0c9e0d0a6..7a2f85906 100644 --- a/src/libs/ifc/xml/vabstractconverter.cpp +++ b/src/libs/ifc/xml/vabstractconverter.cpp @@ -87,7 +87,7 @@ QString VAbstractConverter::Convert() } //--------------------------------------------------------------------------------------------------------------------- -int VAbstractConverter::GetCurrentFormatVarsion() const +int VAbstractConverter::GetCurrentFormatVersion() const { return m_ver; } diff --git a/src/libs/ifc/xml/vabstractconverter.h b/src/libs/ifc/xml/vabstractconverter.h index fcf5f1974..d846968d5 100644 --- a/src/libs/ifc/xml/vabstractconverter.h +++ b/src/libs/ifc/xml/vabstractconverter.h @@ -55,7 +55,7 @@ public: QString Convert(); - int GetCurrentFormatVarsion() const; + int GetCurrentFormatVersion() const; QString GetVersionStr() const; static int GetVersion(const QString &version);