diff --git a/src/app/valentina/mainwindowsnogui.cpp b/src/app/valentina/mainwindowsnogui.cpp index 7ea4ffdd0..258d9ec94 100644 --- a/src/app/valentina/mainwindowsnogui.cpp +++ b/src/app/valentina/mainwindowsnogui.cpp @@ -489,7 +489,7 @@ void MainWindowsNoGUI::PrepareDetailsForLayout(const QHash *de date = QDate::currentDate(); } det.SetPatternInfo(pDoc->GetPatternName(), pDoc->GetPatternNumber(), pDoc->GetPatternSize(), - pDoc->GetCompanyName(), pDoc->GetCustomerName(), date, geom, qApp->font()); + pDoc->GetCompanyName(), pDoc->GetCustomerName(), date, geom, qApp->font()); qApp->getCurrentDocument(); } det.setWidth(qApp->toPixel(d.getWidth())); diff --git a/src/app/valentina/xml/vpattern.cpp b/src/app/valentina/xml/vpattern.cpp index 0fb139822..2d6133572 100644 --- a/src/app/valentina/xml/vpattern.cpp +++ b/src/app/valentina/xml/vpattern.cpp @@ -134,7 +134,7 @@ void VPattern::Parse(const Document &parse) QStringList tags = QStringList() << TagDraw << TagIncrements << TagAuthor << TagDescription << TagNotes << TagMeasurements << TagVersion << TagGradation << TagImage << TagUnit << TagPatternName << TagPatternNum << TagCompanyName << TagCustomerName - << TagSize << TagShowDate; + << TagSize << TagShowDate; PrepareForParse(parse); QDomNode domNode = documentElement().firstChild(); while (domNode.isNull() == false) @@ -206,10 +206,10 @@ void VPattern::Parse(const Document &parse) case 13: // TagCustomerName qCDebug(vXML, "Customer name."); break; - case 14: // TagSize + case 14: // TagSize qCDebug(vXML, "Size"); break; - case 15: + case 15: qCDebug(vXML, "Show creation date"); break; default: diff --git a/src/libs/ifc/xml/vabstractpattern.cpp b/src/libs/ifc/xml/vabstractpattern.cpp index 19d3f5d7e..c4991b689 100644 --- a/src/libs/ifc/xml/vabstractpattern.cpp +++ b/src/libs/ifc/xml/vabstractpattern.cpp @@ -1199,7 +1199,7 @@ QDomElement VAbstractPattern::CheckTagExists(const QString &tag) { const QStringList tags = QStringList() << TagUnit << TagImage << TagAuthor << TagDescription << TagNotes << TagGradation << TagPatternName << TagPatternNum << TagCompanyName - << TagCustomerName << TagSize << TagShowDate; + << TagCustomerName << TagSize << TagShowDate; switch (tags.indexOf(tag)) { case 0: //TagUnit @@ -1260,12 +1260,12 @@ QDomElement VAbstractPattern::CheckTagExists(const QString &tag) element = createElement(TagCustomerName); break; } - case 10: // TagSize + case 10: // TagSize { element = createElement(TagSize); break; } - case 11: // TagShowDate + case 11: // TagShowDate { element = createElement(TagShowDate); break; diff --git a/src/libs/ifc/xml/vabstractpattern.h b/src/libs/ifc/xml/vabstractpattern.h index abf36122c..f5f94ff5e 100644 --- a/src/libs/ifc/xml/vabstractpattern.h +++ b/src/libs/ifc/xml/vabstractpattern.h @@ -176,7 +176,7 @@ public: static const QString TagPatternNum; static const QString TagCompanyName; static const QString TagCustomerName; - static const QString TagSize; + static const QString TagSize; static const QString TagShowDate; static const QString AttrName; diff --git a/src/libs/vtools/tools/vtooldetail.cpp b/src/libs/vtools/tools/vtooldetail.cpp index f91af956d..73afc8e47 100644 --- a/src/libs/vtools/tools/vtooldetail.cpp +++ b/src/libs/vtools/tools/vtooldetail.cpp @@ -833,7 +833,7 @@ void VToolDetail::UpdatePatternInfo() tl.m_eFontWeight = QFont::Normal; tl.m_eStyle = QFont::StyleNormal; tl.m_iFontSize = 0; - QStringList qslDate = QDate::currentDate().toString(Qt::SystemLocaleLongDate).split(", "); + QStringList qslDate = QDate::currentDate().toString(Qt::SystemLocaleLongDate).split(", "); tl.m_qsText = qslDate.last(); patternInfo->AddLine(tl); }