diff --git a/sources/exportdialog.cpp b/sources/exportdialog.cpp index 58787f62a..4a6c3194c 100644 --- a/sources/exportdialog.cpp +++ b/sources/exportdialog.cpp @@ -445,9 +445,7 @@ void ExportDialog::generateDxf(Diagram *diagram, QList list_tables; // Determine les elements a "XMLiser" - int itm = 0; foreach(QGraphicsItem *qgi, diagram -> items()) { - qDebug() << "Item " << itm++ << qgi->type(); if (Element *elmt = qgraphicsitem_cast(qgi)) { list_elements << elmt; } else if (Conductor *f = qgraphicsitem_cast(qgi)) { diff --git a/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp b/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp index faa8feddd..aad8236ec 100644 --- a/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp +++ b/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp @@ -603,7 +603,6 @@ bool QetGraphicsTableItem::toDXF(const QString &filepath) QPointF p1(offset+m_header_item->sectionSize(i), 0); QPointF p2(offset+m_header_item->sectionSize(i), m_current_size.height()); Createdxf::drawLine(filepath,QLineF(mapToScene(p1),mapToScene(p2)),0); -// painter->drawLine(p1, p2); offset += m_header_item->sectionSize(i); } //Calculate the number of rows to display. @@ -622,7 +621,6 @@ bool QetGraphicsTableItem::toDXF(const QString &filepath) QPointF p1(m_header_item->rect().left(), cell_height*i); QPointF p2(m_header_item->rect().right(), cell_height*i); Createdxf::drawLine(filepath,QLineF(mapToScene(p1),mapToScene(p2)),0); - //painter->drawLine(p1, p2); } //Write text of each cell