diff --git a/lang/qet_de.ts b/lang/qet_de.ts
index 1ea38e02d..0eb19a257 100644
--- a/lang/qet_de.ts
+++ b/lang/qet_de.ts
@@ -3009,7 +3009,7 @@ Alle Bauteile und Unterordner von diesem Ordner werden ebenso gelöscht.
SVG: fond transparent
- SVG-transparenter Hintergrund
+ SVG: transparenter Hintergrund
diff --git a/sources/editor/graphicspart/partdynamictextfield.cpp b/sources/editor/graphicspart/partdynamictextfield.cpp
index 0e31b4b89..0c5d95679 100644
--- a/sources/editor/graphicspart/partdynamictextfield.cpp
+++ b/sources/editor/graphicspart/partdynamictextfield.cpp
@@ -177,9 +177,7 @@ void PartDynamicTextField::fromXml(const QDomElement &dom_elmt) {
setFont(font_);
}
else if (dom_elmt.hasAttribute("font_size")) {
-#if TODO_LIST
-#pragma message("@TODO plc-user: remove again, when elements are converted!")
-#endif
+ // plc-user: for convenience - to support font-size from old 'input' ?")
setFont(QETApp::dynamicTextsItemFont(dom_elmt.attribute("font_size", QString::number(9)).toInt()));
}
else {
diff --git a/sources/editor/graphicspart/partpolygon.cpp b/sources/editor/graphicspart/partpolygon.cpp
index c4c61eff7..9a8f83c36 100644
--- a/sources/editor/graphicspart/partpolygon.cpp
+++ b/sources/editor/graphicspart/partpolygon.cpp
@@ -116,7 +116,7 @@ void PartPolygon::fromXml(const QDomElement &qde)
/**
@brief PartPolygon::toXml
- Export this polygin in xml
+ Export this polygon in xml
@param xml_document : Xml document to use for create the xml element
@return an xml element that describe this polygon
*/
diff --git a/sources/editor/graphicspart/partrectangle.cpp b/sources/editor/graphicspart/partrectangle.cpp
index 67cb0af21..083c5f667 100644
--- a/sources/editor/graphicspart/partrectangle.cpp
+++ b/sources/editor/graphicspart/partrectangle.cpp
@@ -96,16 +96,6 @@ const QDomElement PartRectangle::toXml(QDomDocument &xml_document) const
xml_element.setAttribute("width", QString("%1").arg(m_rect.width()));
xml_element.setAttribute("height", QString("%1").arg(m_rect.height()));
- QRectF rect = m_rect.normalized();
- qreal x = m_xRadius;
- if (x > rect.width()/2) {
- x = rect.width()/2;
- }
- qreal y = m_yRadius;
- if (y > rect.height()/2) {
- y = rect.height()/2;
- }
-
xml_element.setAttribute("rx", QString::number(m_xRadius));
xml_element.setAttribute("ry", QString::number(m_yRadius));
diff --git a/sources/editor/graphicspart/partrectangle.h b/sources/editor/graphicspart/partrectangle.h
index c0f69241a..7bd458ab4 100644
--- a/sources/editor/graphicspart/partrectangle.h
+++ b/sources/editor/graphicspart/partrectangle.h
@@ -67,12 +67,12 @@ class PartRectangle : public CustomElementGraphicPart
QRectF rect() const;
void setRect(const QRectF &rect);
- qreal XRadius() const {return m_xRadius;}
- void setXRadius(qreal X);
- qreal YRadius() const {return m_yRadius;}
- void setYRadius(qreal Y);
- void setRotation(qreal angle);
- qreal rotation() const;
+ qreal XRadius() const {return m_xRadius;}
+ void setXRadius(qreal X);
+ qreal YRadius() const {return m_yRadius;}
+ void setYRadius(qreal Y);
+ void setRotation(qreal angle);
+ qreal rotation() const;
QRectF sceneGeometricRect() const override;
virtual QPointF sceneTopLeft() const;