Fix dead stores in the modelinglib

Found via the clang-static-analyzer

Change-Id: Ic035a88d26b2a096d293133eb4638a090ac5a5c2
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Frank Meerkoetter
2016-11-07 11:03:47 +01:00
parent 43258f91e8
commit d59cfb2f97
3 changed files with 0 additions and 3 deletions
@@ -358,7 +358,6 @@ void ComponentItem::updateGeometry()
m_contextLabel->setMaxWidth(maxContextWidth);
}
m_contextLabel->setPos(-m_contextLabel->boundingRect().width() / 2.0, y);
y += m_contextLabel->boundingRect().height();
}
updateSelectionMarkerGeometry(rect);