diff --git a/limereport/items/lrborderframeeditor.cpp b/limereport/items/lrborderframeeditor.cpp index a4acfd9..e3aa525 100644 --- a/limereport/items/lrborderframeeditor.cpp +++ b/limereport/items/lrborderframeeditor.cpp @@ -94,7 +94,7 @@ void BorderFrameEditor::unSetAllLines() void BorderFrameEditor::mousePressEvent(QMouseEvent* event) { -#if (QT_VERSION < QT_VERSION_CHECK(6,0,0)) +#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) int x = event->x(); int y = event->y(); #else diff --git a/limereport/items/lrchartitem.cpp b/limereport/items/lrchartitem.cpp index d8818b4..4e30d15 100644 --- a/limereport/items/lrchartitem.cpp +++ b/limereport/items/lrchartitem.cpp @@ -789,7 +789,6 @@ QSizeF AbstractSeriesChart::calcChartLegendSize(const QFont& font, const qreal m return QSizeF(mw + fm.height() * 2, cw); } } - } bool AbstractSeriesChart::verticalLabels(QPainter* painter, QRectF labelsRect) diff --git a/limereport/serializators/lrxmlwriter.cpp b/limereport/serializators/lrxmlwriter.cpp index bf0bad2..10fcddb 100644 --- a/limereport/serializators/lrxmlwriter.cpp +++ b/limereport/serializators/lrxmlwriter.cpp @@ -252,7 +252,8 @@ void XMLWriter::saveTranslation(QString propertyName, QObject* item, QDomElement languageNode.appendChild(pageNode); foreach (ItemTranslation* translationItem, page->itemsTranslation) { QDomElement itemNode = m_doc->createElement(translationItem->itemName); - foreach (PropertyTranslation* property, translationItem->propertyesTranslation) { + foreach (PropertyTranslation* property, + translationItem->propertyesTranslation) { if (property->sourceValue.compare(property->value) != 0) { QDomElement propertyNode = m_doc->createElement(property->propertyName); propertyNode.setAttribute("Value", property->value); diff --git a/limereport/translationeditor/translationeditor.cpp b/limereport/translationeditor/translationeditor.cpp index 1e0eb81..c012ff4 100644 --- a/limereport/translationeditor/translationeditor.cpp +++ b/limereport/translationeditor/translationeditor.cpp @@ -35,8 +35,8 @@ TranslationEditor::TranslationEditor(QWidget* parent): ui->tbStrings->setHorizontalHeaderItem(2, new QTableWidgetItem(tr("Property"))); ui->tbStrings->setHorizontalHeaderItem(3, new QTableWidgetItem(tr("Source text"))); #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) - m_clrReturn - = new QShortcut(QKeySequence(Qt::Key(Qt::CTRL) | Qt::Key_Return), this, SLOT(slotItemChecked())); + m_clrReturn = new QShortcut(QKeySequence(Qt::Key(Qt::CTRL) | Qt::Key_Return), this, + SLOT(slotItemChecked())); #else m_clrReturn = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_Return), this, SLOT(slotItemChecked()));