minor: typos, witespace, comments

This commit is contained in:
plc-user
2025-02-01 08:49:12 +01:00
parent ffef9aaea5
commit 3051c225bb
4 changed files with 9 additions and 11 deletions

View File

@@ -3009,7 +3009,7 @@ Alle Bauteile und Unterordner von diesem Ordner werden ebenso gelöscht.</transl
<message> <message>
<location filename="../sources/exportpropertieswidget.cpp" line="214"/> <location filename="../sources/exportpropertieswidget.cpp" line="214"/>
<source>SVG: fond transparent</source> <source>SVG: fond transparent</source>
<translation>SVG-transparenter Hintergrund</translation> <translation>SVG: transparenter Hintergrund</translation>
</message> </message>
</context> </context>
<context> <context>

View File

@@ -177,9 +177,7 @@ void PartDynamicTextField::fromXml(const QDomElement &dom_elmt) {
setFont(font_); setFont(font_);
} }
else if (dom_elmt.hasAttribute("font_size")) { else if (dom_elmt.hasAttribute("font_size")) {
#if TODO_LIST // plc-user: for convenience - to support font-size from old 'input' ?")
#pragma message("@TODO plc-user: remove again, when elements are converted!")
#endif
setFont(QETApp::dynamicTextsItemFont(dom_elmt.attribute("font_size", QString::number(9)).toInt())); setFont(QETApp::dynamicTextsItemFont(dom_elmt.attribute("font_size", QString::number(9)).toInt()));
} }
else { else {

View File

@@ -116,7 +116,7 @@ void PartPolygon::fromXml(const QDomElement &qde)
/** /**
@brief PartPolygon::toXml @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 @param xml_document : Xml document to use for create the xml element
@return an xml element that describe this polygon @return an xml element that describe this polygon
*/ */