mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-05 06:19:59 +02:00
delete german notes
This commit is contained in:
@@ -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://";
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user