[TD]remove obsolete QGraphicRectItem (LGTM)

This commit is contained in:
wandererfan
2020-07-26 10:31:35 -04:00
committed by WandererFan
parent 04f1842308
commit cb90b6a112
2 changed files with 0 additions and 8 deletions

View File

@@ -52,12 +52,6 @@ QGIProjGroup::QGIProjGroup()
m_origin = new QGraphicsItemGroup(); //QGIG added to this QGIG??
m_origin->setParentItem(this);
// In place to ensure correct drawing and bounding box calculations
// WF: obs? not even part of QGIGroup!
m_groupBackground = new QGraphicsRectItem();
m_groupBackground->setPen(QPen(QColor(Qt::black)));
//addToGroup(m_groupBackground);
setFlag(ItemIsSelectable, false);
setFlag(ItemIsMovable, true);
setFiltersChildEvents(true);
@@ -204,7 +198,6 @@ QGIView * QGIProjGroup::getAnchorQItem() const
void QGIProjGroup::updateView(bool update)
{
m_groupBackground->setRect(boundingRect());
return QGIViewCollection::updateView(update);
}

View File

@@ -68,7 +68,6 @@ private:
/// Convenience function
TechDraw::DrawProjGroup * getDrawView(void) const;
QGraphicsRectItem *m_groupBackground;
QGraphicsItem* m_origin;
QPoint mousePos;
};