From 946aa37e78db0a022fc8cbb49f506b7468c30c2d Mon Sep 17 00:00:00 2001 From: Kellermorph Date: Wed, 29 Apr 2026 16:17:49 +0200 Subject: [PATCH] delete german notes --- sources/ElementsCollection/fileelementcollectionitem.cpp | 3 +-- sources/diagramevent/diagrameventaddmacro.cpp | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sources/ElementsCollection/fileelementcollectionitem.cpp b/sources/ElementsCollection/fileelementcollectionitem.cpp index 6d043dd05..5f42efec4 100644 --- a/sources/ElementsCollection/fileelementcollectionitem.cpp +++ b/sources/ElementsCollection/fileelementcollectionitem.cpp @@ -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://"; } diff --git a/sources/diagramevent/diagrameventaddmacro.cpp b/sources/diagramevent/diagrameventaddmacro.cpp index 98f8f413a..556a5e42d 100644 --- a/sources/diagramevent/diagrameventaddmacro.cpp +++ b/sources/diagramevent/diagrameventaddmacro.cpp @@ -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;