diff --git a/src/items/itembase.cpp b/src/items/itembase.cpp index 12d22f484..1afa1e5a3 100644 --- a/src/items/itembase.cpp +++ b/src/items/itembase.cpp @@ -150,7 +150,7 @@ ItemBase::~ItemBase() { //m_simItem is a child of this object, it gets delated by the destructor m_simItem = nullptr; - DebugDialog::debug(QString("deleted itembase %1").arg((qintptr)this, 0, 16)); + // DebugDialog::debug(QString("deleted itembase %1").arg((qintptr)this, 0, 16)); } void ItemBase::setTooltip() { diff --git a/src/sketch/sketchwidget.cpp b/src/sketch/sketchwidget.cpp index 437dd6050..d13435027 100644 --- a/src/sketch/sketchwidget.cpp +++ b/src/sketch/sketchwidget.cpp @@ -940,7 +940,7 @@ ItemBase * SketchWidget::findItem(long id) { void SketchWidget::deleteItemForCommand(long id, bool deleteModelPart, bool doEmit, bool later) { ItemBase * pitem = findItem(id); - DebugDialog::debug(QString("delete item (1) %1 %2 %3 %4").arg(id).arg(doEmit).arg(m_viewID).arg((long) pitem, 0, 16) ); + // DebugDialog::debug(QString("delete item (1) %1 %2 %3 %4").arg(id).arg(doEmit).arg(m_viewID).arg((long) pitem, 0, 16) ); if (pitem) { deleteItem(pitem, deleteModelPart, doEmit, later); } @@ -965,7 +965,7 @@ void SketchWidget::deleteItem(ItemBase * itemBase, bool deleteModelPart, bool do // which is the old value of the boundingRect before the legs were deleted. if (itemBase->hasRubberBandLeg()) { - DebugDialog::debug("kill rubberBand"); + // DebugDialog::debug("kill rubberBand"); itemBase->killRubberBandLeg(); }