delete german notes

This commit is contained in:
Kellermorph
2026-04-29 16:17:49 +02:00
parent b8c85f9e96
commit 946aa37e78
2 changed files with 1 additions and 4 deletions

View File

@@ -179,7 +179,6 @@ QString FileElementCollectionItem::localName(const ElementsLocation &location)
}
else if (isElement()) {
QString display_name = location.name();
// Schneide die Endung .qetmak für die Anzeige ab
if (display_name.endsWith(".qetmak")) {
display_name.remove(".qetmak");
}
@@ -216,7 +215,7 @@ QString FileElementCollectionItem::collectionPath() const
else if (m_path == QETApp::companyElementsDirN())
return "company://";
else if (m_path == macrosPath)
return "macros://"; // <-- NEU: Protokoll für Makros zuweisen
return "macros://"; //
else
return "custom://";
}

View File

@@ -245,8 +245,6 @@ void DiagramEventAddMacro::addMacro(QPointF final_pos)
if (!diagram_node.isNull()) {
QDomElement cloned_node = diagram_node.cloneNode(true).toElement();
// Die fehlerhafte Offset-Addition wurde hier entfernt.
// target_pos ist einfach nur die Raster-Mausposition.
QPointF target_pos = final_pos;
DiagramContent pasted_content;